Bug 822 - Moodlogic features and playlists missing on restart
: Moodlogic features and playlists missing on restart
Status: RESOLVED WORKSFORME
Product: Logitech Media Server
Classification: Unclassified
Component: MoodLogic
: 6.0.0
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: KDF
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-02-02 06:41 UTC by Greg Hamilton
Modified: 2005-02-09 12:44 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 Greg Hamilton 2005-02-02 06:41:36 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.
Comment 1 KDF 2005-02-02 09:53:59 UTC
I've been working on this exact problem for days now.  its related to bug820.
Comment 2 KDF 2005-02-02 12:01:57 UTC
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?  

Comment 3 Greg Hamilton 2005-02-02 14:15:36 UTC
Nope,  Only if I rescan
Comment 4 KDF 2005-02-03 22:08:43 UTC
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.
Comment 5 KDF 2005-02-04 01:03:28 UTC
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.
Comment 6 Greg Hamilton 2005-02-04 12:38:05 UTC
Works,  however I'm noticing long startup times everythime the server is restarted.
Comment 7 KDF 2005-02-04 13:09:58 UTC
Is the delay longer than a manual rescan after startup from a previous nightly?
Comment 8 Greg Hamilton 2005-02-04 14:42:58 UTC
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)

Comment 9 KDF 2005-02-04 16:39:44 UTC
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 :)
Comment 10 KDF 2005-02-04 22:14:49 UTC
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.

Comment 11 KDF 2005-02-09 12:44:13 UTC
This seems to work for me now.  Please re-open if you continue to have any issues.