mherger wrote:
> > Lets say I ask for a Deezer track, LMS will stream that track
> to[color=blue]
> It's not clear to me at what moment you need that information. Before
> playback starts? Once it's playing? At any time?
>
> As bpa mentioned you can use the "status" query to get information about
>
> the currently playing track. From a shell:
>
> curl -X POST -sd
> '{"id":0,"params":["00:04:20:...",["status",0,1,"tags:T"]],"method":"slim.request"}'
>
> http://localhost:9000/jsonrpc.js | jq
> '.result.playlist_loop[0].samplerate'
>
> --
>
> Michael
Thank you Michael, well, you are right I didn't mention the moment, I
wish to get the information just before the playback.
I'll try bpa's suggestion.
------------------------------------------------------------------------
bidule's Profile: http://forums.slimdevices.com/member.php?userid=15337
View this thread: http://forums.slimdevices.com/showthread.php?t=113499
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins