>The reason I ask is that it has felt like the Dynamic Playlist
>integration is pretty different from the other SugarCube usage so it
>might even be easier to maintain it if it was a separate plugin. It
>won't work if you use all the SugarCube features, as that would mean
>duplicating a lot of code. 
>
>However, if you are just looking for a way to select which recipe or
>filter to use, a separate plugin might not be a bad idea.
>
My main reason for using DynamicPlaylist is to wrap SugarCube such that it can 
be played as an alarm clock music source.  I configure SugarCube to use a 
certain filter.  It picks a random starting track, and then wanders off from 
that in the morning.

I would like a way to configure the initial seed (I think once upon a time I 
could select and queue a single song in the evening, so it used that as the 
starting song, but I think it hasn't used that for a long time and uses a new 
arbitrary starting track when the alarm fires).  I was playing with ideas like 
starting an alarm initially to play a single random song from a defined 
playlist of good wake-up songs, and then a second alarm fire a few seconds 
later to play SugarCube, using the current playing song as a seed.


I think I'm making a bit of progress.  Updating to 7.5/trunk tonight and using 
SugarCube 2.03, I'm not getting as many errors.  I figured that there was an 
issue with the dynamic SQL that sugarcube was building up - it has in it a 
hard-coded database name when identifying tables, eg. "slimserver.albums".  My 
own MySQL instance has a different database name (as I have various versions 
running in parallel - various beta ones), so I just removed the database name.

I can see that within getNextDynamicPlayListTracks, it is selecting a track to 
play, and returns a valid track:

[23:34:46.4357] Plugins::SugarCube::Plugin::getNextDynamicPlayListTracks (1357) 
returning to Dynamic Playlist 
file:///M:/Music/Phil%27s%20Music/Rock/Badly%20Drawn%20Boy/About%20a%20Boy/16%20-%20Donna%20and%20Blitzen.mp3

However, nothing actually plays, so maybe the format that this is being 
returned in is wrong.
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to