Bug 15543 - Repeat Playlist enabled state shown as PLAYLIST_SHORT
: Repeat Playlist enabled state shown as PLAYLIST_SHORT
Status: CLOSED FIXED
Product: SB Touch
Classification: Unclassified
Component: UI
: 7.5.0
: PC Windows XP
: -- normal (vote)
: 7.5.0
Assigned To: Ben Klaas
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-01-27 09:20 UTC by Mickey Gee
Modified: 2010-04-08 17:26 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mickey Gee 2010-01-27 09:20:47 UTC
Repeat state shows states of Off, Song, and PLAYLIST_SHORT.

Running firmware 7.5.0 r8398.
Comment 1 Ben Klaas 2010-01-27 09:30:56 UTC
That string comes from the server-side, and it's there in my fully up-to-data SBS. Can you update that side and tell me if you still see the problem?

If you still see a problem after update, assign back to me or Michael. Otherwise close.
Comment 2 Mickey Gee 2010-01-27 10:34:11 UTC
Ooops ... forgot to mention I am running TinySC only. No Squeezebox Server on PC involved.
Comment 3 Michael Herger 2010-01-27 10:44:37 UTC
I think we have a string caching issue. I've seen this too. Wiping the /etc/squeezecenter/cache/strings* and restarting fixed it. Can you reproduce this?
Comment 4 Michael Herger 2010-01-27 10:46:05 UTC
Adrian - could you imagine this is due to the fact that at boot time, fab4 will always have january 1st 1970? The time sync is probably later in the process than the strings are read.
Comment 5 Adrian Smith 2010-01-27 11:40:06 UTC
The cache is validated based on the mtimes of the string files.  If these can't be usefully compared the cache file it will not be updated.  From memory it calculates the sum of mtimes and stores this in the cache file and will then update the cache if this is wrong.  But are the timestamps for the filesystem ok or are we potentially writing files with old mtimes?

Can you set the default debugging to log the stringcache startup?
Comment 6 SVN Bot 2010-01-28 02:27:36 UTC
 == Auto-comment from SVN commit #29941 to the slim repo by michael ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29941 ==

Fixed Bug: 15543
Description: add revision number to string cache, forcing renewal of the cache on updates.

Adrian - mtime for the installed files is always January 1 1970. Thus the cache would live forever.
Comment 7 Chris Owens 2010-04-08 17:26:10 UTC
This bug has been marked fixed in a released version of Squeezebox Server or the accompanying firmware or mysqueezebox.com release.

If you are still seeing this issue, please let us know!