Bug 4259 - Fishbone never refreshes playlist
: Fishbone never refreshes playlist
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Skins
: 7.0
: Macintosh Other
: P2 minor (vote)
: ---
Assigned To: KDF
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-09-29 07:50 UTC by Andy Grundman
Modified: 2006-09-29 20:41 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Grundman 2006-09-29 07:50:10 UTC
I was playing with Random Play and had the Fishbone skin loaded.  The playlist is never refreshed so you never see new songs that are added to the playlist.
Comment 1 KDF 2006-09-29 08:16:26 UTC
This is working for me. what browser are you using?
Comment 2 Andy Grundman 2006-09-29 08:17:17 UTC
Firefox 1.5.0.1 on Ubuntu.  Hmm, not sure why this is not the latest version.  Let me try on some other browsers.
Comment 3 KDF 2006-09-29 08:20:32 UTC
do you remember what music was playing at the time?
Comment 4 KDF 2006-09-29 08:27:13 UTC
at least this should only be a problem in trunk, as the ajax playlist updates are not in 6.5
I'll try to reproduce later today.  It might be that I've missed soemthing in more recent changes.
Comment 5 Andy Grundman 2006-09-29 08:30:51 UTC
OK good, I am using trunk at the moment.  I was trying a 1/1 Random Play (looking at bug 3696).  It works some of the time.  I think it can be reproduced this way:

Play 1/1 Random Play.
On the middle track (#2), skip the track using the skip button in the web UI.
Web will refresh to display the 3rd track playing, but after this the playlist no longer updates.
Comment 6 Andy Grundman 2006-09-29 08:32:18 UTC
OK, looks like it does actually refresh, but not until after the track change.  After you skip track #2, it does not show the next upcoming track until track #3 starts playing.
Comment 7 KDF 2006-09-29 09:15:17 UTC
right ok.  that's important :)
Odd, however, as it should still refresh when it senses the new track was added.  I'll have to check the timing there.
Comment 8 KDF 2006-09-29 09:51:13 UTC
if you still have time to test, this appears to take care of it for me.  Add after playlistChecker(); in Fishbone/html/ajax.js around line 308:
setTimeout( "playlistChecker()", 10*1000);

When the song changes, the new track seems to get added before the full info update.  skipping a song causes the update to happen immediately, and thus before the playlist change.  
Comment 9 KDF 2006-09-29 20:41:30 UTC
fixed at change 10111.  might now take 10 seconds to update....but that's no longer never ;)