You could try the advice from 'this thread' (https://forums.slimdevices.com/showthread.php?99977-Execute-Shell-Command-on-Media-Server-if-a-Player-Starts-Playing&p=758499&viewfull=1#post758499), install PowerCenter plugin (also from Peter Watkins) and "...all you really need to do is create a custom script named '/usr/local/sbin/heyu', incorporate your code and then parse the cmd line args correctly...".
The custom heyu script might need some tweaking as if I understand correctly it is run when the Radio powers on/off but also can be run from the PowerCenter menu. Also, you need to ensure the command to change to speakers is run on the Radio, not on the server. There's also 'LMS Event Trigger' (https://forums.slimdevices.com/showthread.php?110344-Announce-Event-Trigger-execute-commands-triggered-by-LMS-server-events&p=936363&viewfull=1#post936363) but I'm not sure if there's an appropriate event for a button press. ------------------------------------------------------------------------ jj_0's Profile: http://forums.slimdevices.com/member.php?userid=65516 View this thread: http://forums.slimdevices.com/showthread.php?t=115626 _______________________________________________ Radio mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/radio
