Bugzilla – Bug 822
Moodlogic features and playlists missing on restart
Last modified: 2005-02-09 12:44:13 UTC
Whenever SlimServer is restarted, the Moodlogic features disappear, Both the playlists and the mixing capabilities are gone. Turning on "--d_moodlogic" shows nothing in the logs, only the "Using Moodlogic: 1". If I force a rescan or wipecache the features re-appear after the scan. They stay put until I shut the server down again. running on Windows XP with active perl 5.8.4 using lastest SVN revision 1890.
I've been working on this exact problem for days now. its related to bug820.
Gregory, Just to confirm that you are seeing the same as I am, try to navigate down through artists, etc to a specific song that you know should be mixable. Do you see a moodlogic icons then?
Nope, Only if I rescan
I'm working on this. For now, we'll change moodlogic to trigger a rescan on every startup so that the mixcaches are properly rebuilt. As part of the import plugins, I'm hoping to be rid of the need for the mixCaches, but that will take a lot more time. Look for a patch to properly rescan and enable moodwheel and instantmix support again in teh next few days.
Have committed this to 6.0 trunk, svn rev 1905. It should be in time for the Feb 4 nightly build. Please try this out and let me know if this works for you.
Works, however I'm noticing long startup times everythime the server is restarted.
Is the delay longer than a manual rescan after startup from a previous nightly?
KDF, Just noticed the moodlogic playlists are not playing. Using web interface (Default), also they are not working via the remote. browse playlist>picked a moodlogic one, get option to play or add to playlist, when play is clicked, nothing happens but the following was captured in the logs. 2005-02-04 17:14:17.6309 Scan::addToList: moodlogicplaylist:%2BCountry%20%5BHappy%5D 2005-02-04 17:14:17.6309 Scan::readList gonna read moodlogicplaylist:%2BCountry%20%5BHappy%5D 2005-02-04 17:14:17.6309 Gonna try to open playlist moodlogicplaylist:%2BCountry%20%5BHappy%5D 2005-02-04 17:14:17.6309 *** found a current entry for moodlogicplaylist:%2BCountry%20%5BHappy%5D in playlist cache *** 2005-02-04 17:14:17.8713 using moodlogic: 1 Also noticed the playlist are showing on the webpage as moodlogicplaylist:%2BCountry 5BHappy%5D (The #2B, 5B, %5D shouldn't be there)
There is an infinite loop in Pages.pm when the server has some problem loading a given song from a moodlogic playlist. I'll fix that for tomorrow's build. I'm currently running from the import_plugin branch, so I'm not seeing the unescaped characters that you see in the playlist names. I'll have to track that down. Other than this issue, they seem to play from the branch. The trick is figuring out what is different :)
seems to appear ok now, plays from web and player UI. if you still see odd characters, let me know which skin. Also, try erasing the DB just for the heck of it and let the server start from scratch. I'm not sure the updates on URL's are reliable.
This seems to work for me now. Please re-open if you continue to have any issues.