Right - next challenge (for you, not me, I just have to wait a couple of days and then run the new command :))
How would we go about adding extra commands to the capabilities of this tool, other than POWR, PLAY, PREV, NEXT, VOL+, VOL- ? I realise there aren't many others that make much sense for a headless/screenless RPi, but one that comes to mind is the equivalent of the PLAY button on the remotes. I think the command we're calling PLAY in sbpd is actually the equivalent of the PAUSE button on the remotes. The remote PLAY button simply restarts the current track, and there's no equivalent of that in the currently defined commands (although this is actually the 'half PREV' function I thought I stumbled on in my earlier post, so I was evidently triggering it somehow with the previous sbpd version). But there might be some who'd want a button to recall a preset, or it might be nice to put 'max volume' on the long press of VOL+, and MUTE on the long press of VOL-, for instance. And people with screens attached might like to have the functions of the 4-way rocker. OK - I've just checked the help output again, and the new script option registered this time. So I guess some of these options could be achieved with scripts, although I suspect MUTE and PLAY are probably single commands. I guess I need to look into how to script commands - maybe maximising volume and recalling favourites can be done with a script file. ------------------------------------------------------------------------ chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=107001 _______________________________________________ diy mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/diy
