Quantcast
Channel: Squeezebox : Community : Forums - Linux / Unix
Viewing all articles
Browse latest Browse all 1518

Getting the cuurent song's URL via CLI

$
0
0
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!

Viewing all articles
Browse latest Browse all 1518

Latest Images

Trending Articles



Latest Images