payong wrote: > @Daverz > > What I'm trying to do? I've build DAC and i can display on LCD display > information form USB to I2S interface (amanero) about incoming form > Daphile strem: stream type PCM/DSD and item sampling rate, DAC volume. > This information are from output of Daphile which uses LMS. But I'm > trying to get information about input stream to Daphile. Because > sometimes I'have made some conversion of input stream. > To get information from USB/I2S interface and set some DAC features I'm > using ESP32 kit. There is a WiFi module to connect with Daphile :) > > @mherger > > I'll try with Json querry. >
Thanks for the details. The CLI documentation under "Help -> Technical Information" on the Default skin main page documents most of the calls that can be used with the JSONRPC interface. http://<lms url>:9000/Default/html/docs/cli-api.html Googling "squeezebox json api" brings up some more useful docs and forum threads. Note that it is easier to use the status call with tags to get track info all at once rather than the songinfo call to get detailed track info, e.g. ["status", "0", "100", "tags:adl"] There's also an undocumented trackinfo call that can return details status or songinfo won't in some cases, e.g.: ["trackinfo", "items", "0", "100", "track_id:8954"] ------------------------------------------------------------------------ Daverz's Profile: http://forums.slimdevices.com/member.php?userid=32335 View this thread: http://forums.slimdevices.com/showthread.php?t=113727 _______________________________________________ Squeezecenter mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/squeezecenter
