This page last changed on Jan 29, 2014 by skogen75.

Hi guys,

Just wondering if someone can provide an update on the TCP listener functionality? For all of us Squeezebox users, the ability to only update a sensor when a new track starts playing (using the subscribe function) would be a welcome function. I'm afraid that Squeezebox community is not interested in implementing a UDP subscribe function otherwise I would use that function with OpenRemote UDP listener.

I'm wanting to implement a set of sensors that return the current and next 5-10 tracks in a playlist but polling for updates at a short enough time period to update the track list (1 second) really bogs down the entire system. However, using the Squeezebox command line interface subscribe function and a TCP listener on the other end, I would only get data when a subscribed event occurs.

Thanks, and keep up the good work.

Erik

Do you have a link to the API which Suqueezebox is using?

Posted by mredeker at Jan 30, 2014 08:26

I have a link to the command line interface (CLI). This is what I use for sending commands and polling for data; I would like to use the subscribe command to reduce the amount of polling occurring. (I know, it's a strange link; it will ask to download a htm file which has the CLI implementation data).

Link to the CLI:

http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=5&cad=rja&ved=0CEQQFjAE&url=http%3A%2F%2Fcrestron-squeeze.googlecode.com%2Ffiles%2Fcli-api_7.6.htm&ei=qKfqUuPFEs-JogSDkoLgBg&usg=AFQjCNF1PuaMw15HvyO1NS6-UF6PnIAwvg&bvm=bv.60444564,d.cGU

Here is what I found for an API. I haven't investigated further, however. Seems more like another interface for the CLI.

Python API

https://github.com/jingleman/PyLMS

Java API

http://www.thejavashop.net/javaslimserver/index.shtml

Let me know if you need or were looking for something different.

Thanks,
Erik

Posted by skogen75 at Jan 30, 2014 19:56
Document generated by Confluence on Jun 05, 2016 09:39