Looking for suggestions:
I have an X10 remote that connects to the serial port. I have a Perl script (mouseremote.pl) that listens to the serial port and maps keystrokes to commands that are issued via a system() call.
For example, I have the remote run these commands when in "CD" mode to control xmms:
[CD] Power xmms& .VolUp xmms-shell -e 'upvolume 2' .VolDown xmms-shell -e 'downvolume 2' FF xmms-shell -e next Pause xmms-shell -e pause Play xmms-shell -e play Rew xmms-shell -e previous ab xmms-shell -e 'shuffle ON' Disp xmms-shell -e 'shuffle OFF' Stop xmms-shell -e stop Mute xmms-shell -e pause
Is there a utility available to send commands to the slimserver via a system call? I know I can connect to port 9090 -- but I'm wondering if there's already a program available that will work with my existing setup.
Enable XPL interface in server setup.
Go to www.xplproject.org.uk
Download the perl xpl command line sender and hub
You can then have you perl script send xpl messages by using the xplsend perl script. Slimserver will recieve the xpl messages and act on them (e.e. fast forward, stop etc).
You cna find info on slimserver and xpl on the help section of the slimserver web interface.
HTH
_______________________________________________ Discuss mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/discuss
