andynormancx;586309 Wrote: > > There could then me a menu for retrieving say the last 10 saved running > playlists. As a developer, but one who admittedly doesn't know the SBS > code, this seems like a relatively simple bit of work, at least > compared to a workable party mode or fixing touch-to-play. > > This would at least allow you to recover from blowing away the > playlist, without having to deal with the difficulty of implementing a > party mode that makes sense on all UIs. > I've thought about this too but so far I've hoped that someone else would try to do it as the party mode isn't critical for myself (too few parties with people that actually dare to touch my remote controls)
Just saving the last 10 playlists can be pretty easy to handle on the server side, you just have to figure out which events that change the playlist. You need to ensure the the playlist is saved before the event is received because when you receive the event in a plugin the playlist is already destroyed. I think the problem is going to be to handle cases where the user clicks once but this generates multiple playlist events, clicking on an album and adding track by track to the playlist. For example, some of the Custom Browse plugin menus works this way. However, I suspect you can still handle this by only creating a new history position when commands that clear the playlist is executed, for example a "play" command. An "add" command doesn't have to create a new history entry, it can just modify the latest history entry. The other problem with a history is that it doesn't really solve the problem, it's just a workaround to get back the playlist after it has been lost. I think replacing the "play" commands with "add" on the client side would be a better solution for the user in most cases. andynormancx;586309 Wrote: > > I guess I should dust off my Perl book ;) > Please do, I suspect a lot of people would love a plugin like this. -- erland Erland Isaksson ('My homepage' (http://erland.isaksson.info)) (Developer of 'many plugins/applets' (http://wiki.slimdevices.com/index.php/User:Erland). If my answer helped you and you like to encourage future presence on this forum and/or third party plugin/applet development, 'donations are always appreciated' (http://erland.isaksson.info/donate)) ------------------------------------------------------------------------ erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=82990 _______________________________________________ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss