FAQ  •  Register  •  Login

“Now Playing” data

<<

teacherguy

Streaming enthusiast

Posts: 22

Joined: Thu Dec 30, 2021 6:04 pm

Post Mon Jan 01, 2024 8:02 pm

“Now Playing” data

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)?
<<

teacherguy

Streaming enthusiast

Posts: 22

Joined: Thu Dec 30, 2021 6:04 pm

Post Tue Jan 02, 2024 1:14 am

Re: “Now Playing” data

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?
<<

teacherguy

Streaming enthusiast

Posts: 22

Joined: Thu Dec 30, 2021 6:04 pm

Post Tue Jan 02, 2024 2:03 am

Re: “Now Playing” data

OK, got what I needed with:

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

teacherguy

Streaming enthusiast

Posts: 22

Joined: Thu Dec 30, 2021 6:04 pm

Post Sat Jan 06, 2024 2:59 pm

Re: “Now Playing” data

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.
<<

atc98092

User avatar

DLNA master

Posts: 5215

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Mon Jan 08, 2024 12:03 am

Re: “Now Playing” data

Thanks for providing this information. I'm sure it will be of assistance to someone else playing with the APIs.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents

Return to General discussion

Who is online

Users browsing this forum: No registered users and 22 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.