I'm trying to control my LMS using CLI from a Raspberry Pi.

Simple commands like play, pause, etc. are working fine using


Code:
--------------------
    echo "c8:27:eb:2b:68:64 play" | telnet 192.168.1.18 9090
--------------------


I want to be able to get the URL of the current song (for use in another
command) but the command


Code:
--------------------
    echo "c8:27:eb:2b:68:64 status - 1 tags:u" | telnet 192.168.1.18 9090
--------------------


gets sent to to LMS but no I get no response on the Pi other than


Code:
--------------------
    Trying 192.168.1.12...
  Connected to 192.168.1.12.
  Escape character is '^]'.
  Connection closed by foreign host.
--------------------


Does anybody know how I can achieve my aim?

Any help, pointers or working code would be appreciated!


------------------------------------------------------------------------
MillmoorRon's Profile: http://forums.slimdevices.com/member.php?userid=6413
View this thread: http://forums.slimdevices.com/showthread.php?t=102025

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to