PDA

View Full Version : Command line access to current song?



pfurrie
2006-01-21, 00:21
I'm working on small utility that utilizes the command line interface of SlimServer, and things are going fairly well. However, I'm trying to pull up the "now playing" data, but I don't see any command that returns that particular choice piece of information (suprisingly). I'm wondering if I've missed it in the documentation; I would have thought it would be more obvious.

Thanks!

Pat

mherger
2006-01-21, 00:47
> I'm working on small utility that utilizes the command line interface of
> SlimServer, and things are going fairly well. However, I'm trying to
> pull up the "now playing" data, but I don't see any command that
> returns that particular choice piece of information (suprisingly). I'm
> wondering if I've missed it in the documentation;

You did:

<playerid> status <start> <itemsPerResponse> <taggedParameters>

<playerid> status - 1 tags:gabhldiqtyr

will return the currently playing song with genre, artist, disc no, etc.

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

pfurrie
2006-01-21, 00:47
Never mind... I finally found it in the docs...