Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long LMS client playlist disappears during wipe and rescan #554

Closed
jrfinlay opened this issue Mar 24, 2021 · 1 comment
Closed

Long LMS client playlist disappears during wipe and rescan #554

jrfinlay opened this issue Mar 24, 2021 · 1 comment

Comments

@jrfinlay
Copy link

An existing long (>2000 entries) client playlist disappears from the browser display after starting a full wipe and rescan of the music library. The process to illustrate this behavior is:

  1. With LMS running and an empty playlist for a player, add 2000+ files to the playlist which creates a clientplaylist file in /var/lib/squeezeboxserver/prefs containing references like:
#EXTURL:file:///music/Music/Jazz/Keiko%20Matsui/A%20Drop%20of%20Water/01%20Ancient%20Wind.wav
#EXTINF:382,Ancient Wind
/music/Music/Jazz/Keiko Matsui/A Drop of Water/01 Ancient Wind.wav
#EXTURL:file:///music/Music/Jazz/Keiko%20Matsui/A%20Drop%20of%20Water/02%20Light%20above%20the%20Trees.wav
#EXTINF:288,Light above the Trees
/music/Music/Jazz/Keiko Matsui/A Drop of Water/02 Light above the Trees.wav
  1. Start a full wipe and rescan which first rewrites the clientplaylist in prefs with tmp:// urls similar to:
#EXTURL:tmp:///music/Music/Jazz/Keiko%20Matsui/A%20Drop%20of%20Water/01%20Ancient%20Wind.wav
#EXTINF:382,Ancient Wind
tmp:///music/Music/Jazz/Keiko%20Matsui/A%20Drop%20of%20Water/01%20Ancient%20Wind.wav
tmp:///music/Music/Jazz/Keiko%20Matsui/A%20Drop%20of%20Water/02%20Light%20above%20the%20Trees.wav
  1. Shortly after the clientplaylist is rewritten with tmp:// urls, the browser display is automatically refreshed and all the playlist entries disappear similar to the image in:

https://forums.slimdevices.com/showthread.php?114177-LMS-can-t-display-playlist&p=1015416&viewfull=1#post1015416

  1. After the rescan is complete, the clientplaylist still contains just tmp:// urls as above.

  2. Neither a forced refresh of the browser page or restarting LMS will cause a correct browser display of the playlist though the playlist will play properly. No files can be added to the playlist and there is no way to clear the playlist from the browser.

  3. Stop LMS and edit the clientplaylist to change 'tmp://' to 'file://' and the entries look like:

#EXTURL:file:///music/Music/Jazz/Keiko%20Matsui/A%20Drop%20of%20Water/01%20Ancient%20Wind.wav
#EXTINF:382,Ancient Wind
file:///music/Music/Jazz/Keiko%20Matsui/A%20Drop%20of%20Water/01%20Ancient%20Wind.wav
file:///music/Music/Jazz/Keiko%20Matsui/A%20Drop%20of%20Water/02%20Light%20above%20the%20Trees.wav
  1. Start LMS and soon the browser window is refreshed and the playlist is displayed correctly. The clientplaylist still contains file:// urls.
@michaelherger
Copy link
Member

Should be fixed in 8.2 - please give it a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants