I'm *soo* close to being able to offer you that. A while back I worked on a plugin that adds two new "protocols" for Squeezebox. One is for executing CLI commands like "sleep 900" (900 = 15 minutes). Another is for executing commands on the machine running Squeezebox Server. The idea is that these become "tracks" that you can add to playlists. So you could have a playlist like
squeezecli: p0=sleep&p1=5400 http: //somestreamingstation.com/foo.mp3 that would start the sleep timer before opening the lullaby stream. The randomized favorite might be trickier. You might need two playlists, with the randomized playlist looking like the following (spaces added after the colon to appease the forum software) squeezecli: p0=playlist&p1=shuffle&p2=2 squeezecli: p0=playlist&p1=clear squeezecli: p0=playlist&p1=add&p2=/path/to/playlist squeezecli: p0=playlist&p1=shuffle&p2=0 squeezecli: p0=playlist&p1=play to force a new reshuffling of your playlist and revert to non-shuffled behavior right afterwards. But there's something a little messed up in my code I haven't had time to track down; the effect is that the squeezecli command executes but SBS never moves to the next track. My hope was to fix that and then make a nice web UI to simplify adding squeezecli: "tracks" to playlists. Does that sound about right, or too darn complex? -- peterw http://www.tux.org/~peterw/ Free plugins: 'AllQuiet' (http://www.tux.org/~peterw/slim/AllQuiet.html) 'Auto Dim/AutoDisplay' (http://www.tux.org/~peterw/slim/AutoDisplay.html) 'BlankSaver' (http://www.tux.org/~peterw/slim/BlankSaver.html) 'ContextMenu' (http://www.tux.org/~peterw/slim/ContextMenu.html) 'DenonSerial' (http://www.tux.org/~peterw/slim/DenonSerial.html) 'FuzzyTime' (http://www.tux.org/~peterw/slim/FuzzyTime.html) 'KidsPlay' (http://www.tux.org/~peterw/slim/KidsPlay.html) 'KitchenTimer' (http://www.tux.org/~peterw/slim/KitchenTimer.html) 'PlayLog' (http://www.tux.org/~peterw/slim/PlayLog.html) 'PowerCenter/BottleRocket' (http://www.tux.org/~peterw/slim/PowerCenter.html) 'SaverSwitcher' (http://www.tux.org/~peterw/slim/SaverSwitcher.html) 'SettingsManager' (http://www.tux.org/~peterw/slim/SettingsManager.html) 'SleepFade' (http://www.tux.org/~peterw/slim/SleepFade.html) 'StatusFirst' (http://www.tux.org/~peterw/slim/StatusFirst.html) 'SyncOptions' (http://www.tux.org/~peterw/slim/SyncOptions.html) 'VolumeLock' (http://www.tux.org/~peterw/slim/VolumeLock.html) ------------------------------------------------------------------------ peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=85471 _______________________________________________ discuss mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/discuss
