Album Art Folder

Posted on
Sat Feb 01, 2020 10:45 pm
hdfreak offline
Posts: 18
Joined: Jan 01, 2015

Album Art Folder

Hey All,

Trying to link album art to a control page. The Sonos plugin creates a "sonos" folder under "/Library/Application Support/Perceptive Automation/images" but never populates it with any files. If I delete the folder, it puts it right back upon the first play action.

Using the latest plugin (1.0.16).

Thanks,
Brian

Posted on
Sat Feb 22, 2020 11:20 am
DaveL17 offline
User avatar
Posts: 5274
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Album Art Folder

Sorry - meant to reply to this a long time ago, but it slipped through the cracks. Cover art is populated to that location, but it's not always populated. For example, when I'm playing music from my iTunes library, the cover art file is populated. This URI is placed in the ZP_ART state:

Screen Shot 2020-02-22 at 11.01.44 AM.png
Screen Shot 2020-02-22 at 11.01.44 AM.png (74.87 KiB) Viewed 91 times


When I'm playing something from Pandora, the cover art file is not populated. When Pandora is playing, the ZP_ART state is empty, but I can see a reference to the mp3 file in the ZP_CurrentTrackURI state (I suspect the cover art is embedded in the referenced mp3 file, but the plugin may not have access to it). In its place, the plugin uses a placeholder image that it ships with:

Screen Shot 2020-02-22 at 11.07.35 AM.png
Screen Shot 2020-02-22 at 11.07.35 AM.png (27.96 KiB) Viewed 91 times


To display the image file (when it's available), display it as a refreshing image URL with the following structure (note that spaces have been replaced by '%20':
Code: Select all
file:///Library/Application%20Support/Perceptive%20Automation/images/Sonos/Workshop_art.jpg

I have had it on my to-do list to see if I can find a way to get the Pandora cover art to display, but it's never boiled to the top of the list for me. Maybe someone else has figured this out by now. I don't know this as fact, but it could be that changes to the Sonos API have broken something, because I could swear that I've been able to display Pandora cover art in the past.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Wed Feb 26, 2020 2:13 pm
mundmc offline
User avatar
Posts: 660
Joined: Sep 14, 2012

Re: Album Art Folder

Same here- I KNOW I have seen Pandora cover art in the past. I briefly looked at the lastfm api for searching for cover art based on album and band names, and it seemed doable.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests