[Bug] Signature image not working

Madsonic Mashup Mod is a fork of the Subsonic 4.7 Server Build 3090 with some Subsonic Data schema modifications!

Moderator: moderators

[Bug] Signature image not working

Postby gurutech » Sun Dec 16, 2012 12:21 am

I just realized today that my signature isn't updating properly when I am listening to music. It still shows "Not listening to anything" superimposed on my standard image. (I'm testing now to see if it will update correctly for a video, in which case there's something with the signature.php file.)

Was there some code changes to how the song title and/or video title are displayed?
Image
gurutech
 
Posts: 492
Joined: Sun Jan 15, 2012 9:56 pm

Re: [Bug] Signature image not working

Postby gurutech » Sun Dec 16, 2012 7:15 pm

Did some more troubleshooting last night, and just now.

I'm not getting signature updates from using iSub on my iphone either, so I don't think it's a problem with Madsonic per se, however I think there may be some code changes necessary in the signature.php file, as to the variables that are returned under the following section:
Code: Select all
foreach($xml->children()->children() as $second_gen) {
$math = floor($second_gen['duration']/60);
if($second_gen['username']==$user and $second_gen['minutesAgo']<=$math) {
   if($second_gen['isVideo']=='false') {
   goto playing;
   }
      else{
      goto watching;
      }
   }
}


Each time I "run" the script, it says that I'm not listening to anything, so I know the script itself is working, it's just that it's not "choosing" whether I am listening to something or not.

Any ideas?
Image
gurutech
 
Posts: 492
Joined: Sun Jan 15, 2012 9:56 pm

Re: [Bug] Signature image not working

Postby gurutech » Thu Dec 20, 2012 5:28 am

Tested my "guest" account, and it works, so I tried my "admin" account, and that still does NOT work. Couldn't delete the admin account to test, so I deleted my own account (and found out the hard way that the playlists I created with that account were deleted!!!), then recreated my account, and now the signature works as intended.

Not sure what caused this, but it's working now.

Any idea if this could be included in a future MadSonic version?
Image
gurutech
 
Posts: 492
Joined: Sun Jan 15, 2012 9:56 pm


Return to Madsonic

Who is online

Users browsing this forum: No registered users and 8 guests