Page 1 of 1

“Now Playing” data

PostPosted: Mon Jan 01, 2024 8:02 pm
by teacherguy
I was thinking about building a little “album art” display with a Raspberry Pi and 4” square display. Is there a way to access the Now Playing info that I see when I’m on the console page (playback notification status messages)?

Re: “Now Playing” data

PostPosted: Tue Jan 02, 2024 1:14 am
by teacherguy
I found the API documentation on Apiary, and this seems like it would provide me with what I need. However, while I can see two of my renderers, I can’t seem to query my iPad when it is running various DLNA-compliant apps (like MConnect or 8Player Pro). The Serviio Console knows the iPad is playing something, but I guess since these apps aren’t exactly renderers the API can’t see what’s happening?

Re: “Now Playing” data

PostPosted: Tue Jan 02, 2024 2:03 am
by teacherguy
OK, got what I needed with:

http://<IP>:23423/rest/playback-status

Re: “Now Playing” data

PostPosted: Sat Jan 06, 2024 2:59 pm
by teacherguy
Just documenting in case someone (unlikely, I know) is interested in getting track title, artist, *and* album through the APIs. Unless I’m missing something, the Rest API only yields track title and artist from rest/playback-status. But, since it also lists the thumbnail id, I store that and then do a cds/search for the track title. Once I have those results (often multiple, especially in jazz where standards are often recorded by many artists), I look for the entry that has the same album thumbnail, and then I can determine the album. There may be an easier way, but I haven’t been able to figure it out, and this works for now.

Re: “Now Playing” data

PostPosted: Mon Jan 08, 2024 12:03 am
by atc98092
Thanks for providing this information. I'm sure it will be of assistance to someone else playing with the APIs.