Bugzilla – Bug 1597
Add current selected playlist to alarm clock selection list
Last modified: 2009-09-08 09:20:36 UTC
Hi, if I loop thru the playlist for the alarm clock, the current selection of the player itself is missing. The current selection is stored on disk and is named after the players IP. A lookup in the conf would come up with the real name of the player. Add this name to the selection list for the playlists. As a result we can use the collection that we heard last in the morning as well. Thanks for voting ;-)
already a feature in the plugin version.
Now that there are weekday alarms and random mix is part of slimserver, it would be cool, if 'current' and 'random' would appear in the selection list for the alarm playlist.
Dean, any thoughts?
fyi. in the current setup, if you use the web UI to se the playlist, there is a blank option. If you use this, then the server will fallback to using whatever tracks are already set as the current playlist. This feature has always existed for the case of having no playlist setting, but i've just quickly patched it to handle the blank setting. Further UI changes would have to be approved by dean.
Sure, make it "Current Playlist", "Random Artist", "Random Albums" or "Random Songs"
okies, I'll have a go at it for 6.2
Created attachment 800 [details] current and random playlist selection (playerUI for now) I haven't decided how to handle the special playlists in the web setup just yet. Feedback on this would be useful before going into that part in Setup.pm
Looks good to me. One concern: if somebody disables the random play plugin (I can't imagine why?) this might cause a crash, no?
The patch checks that random isn't disabled when presenting the options. It also checks before calling playRandom (or did I attach the wrong version of the patch again?)
My bad, I missed that. Go for it!
committed to trunk at change 4173, leaving open to deal with web UI.
web UI committed at change 4175. we may want to eventually move the 'specialPlaylists' to a more central part of the code and maybe even give them a url format to be useful everywhere that any playlist might come up.
present in Spet 6 build of 6.2 re-open or create a new bug if issues come up as a result, or remain unfixed.