The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Music not working
Author Message
Feeh
Sphere Developer
*****

Posts: 156
Likes Given: 6
Likes Received: 40 in 29 posts
Joined: Sep 2012
Reputation: 4



Post: #12
RE: Music not working
Don't think there is anything wrong with Sphere. I was not able to reproduce the problem using latest version and client 7.0.35.6 and I've made an additional sanity check by debugging the client communication and there is nothing wrong with the packets

   

Note that the command is MUSIC <SONG_NUM> and not MUSIC <NUM1>,<NUM2> as some said

The reason you always get turfin playing may be because when sphere tries to convert "9,10" to number, the comma invalidate the string and it return zero*, which is one of turfin's ID according to config.txt
You can ensure that by reading the packet on the pucture above
It is 3 bytes lenght, the first is the packet ID (0x6D-Play Music) and the other two are the music ID (WORD / 2 bytes / 0x0003 highlighted)

* I'm just guessing, didn't read the code

Feeh/Epila - Nightly releases / SphereWiki / Github Issues / Sphere's GitHub
09-08-2014 01:30 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Music not working - Archaaz - 01-24-2014, 04:14 PM
RE: Music not working - Alaric - 01-24-2014, 04:53 PM
RE: Music not working - darksun84 - 01-24-2014, 05:29 PM
RE: Music not working - Archaaz - 01-25-2014, 02:25 AM
RE: Music not working - Alaric - 01-24-2014, 11:49 PM
RE: Music not working - Extreme - 01-25-2014, 02:39 AM
RE: Music not working - Archaaz - 01-25-2014, 05:28 AM
RE: Music not working - Ben - 01-25-2014, 06:42 AM
RE: Music not working - Alaric - 01-25-2014, 08:35 PM
RE: Music not working - Archaaz - 01-26-2014, 01:55 AM
RE: Music not working - artexd - 09-07-2014, 03:59 AM
RE: Music not working - Feeh - 09-08-2014 01:30 AM
RE: Music not working - artexd - 09-08-2014, 05:44 AM
RE: Music not working - amonvangrell - 09-08-2014, 05:38 PM
RE: Music not working - Feeh - 09-10-2014, 01:55 AM
RE: Music not working - Coruja - 09-14-2014, 01:44 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)