Cloud-Platform icon indicating copy to clipboard operation
Cloud-Platform copied to clipboard

Sonos block is failing to render artwork because Sonos sends local URL instead of cloud URL

Open pfielding opened this issue 2 years ago • 6 comments

Describe the bug When adding a Sonos block, the current playing song displays info correctly, but artwork does not display. In conversation with Support, it appears that Sonos is sending a Local URL that points to one of the speakers on the local network to obtain the artwork, rather than sending dakboard a cloud URL to obtain the artwork.

To Reproduce Steps to reproduce the behavior:

  1. Create a Sonos block that is logged into a valid Sonos account
  2. Tell the block to display album artwork
  3. Play a song on the speaker
  4. Artwork does not display

Expected behavior Artwork for the currently playing song should be displayed.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Chrome

I don't think the platform matters, however, since support looked at the dakboard logs and confirmed that Sonos sends the local URL rather than remote URL. Upon discussing this in Sonos forums, I'm finding that others have also noticed this change in behaviour from Sonos. While the behaviour change is indeed a Sonos change, I suspect it's an intended design change, and therefore I believe Dakboard needs to pivot with it and start allowing the album art to be rendered locally to the screen rather than relying solely on remote rendering.

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

pfielding avatar Mar 02 '22 17:03 pfielding

Thanks for submitting this.

As we discussed on our call I have reached out to Sonos for an explanation on this, as we were able to correlate it to some specific models in on our call. More to come when we see what they say.

cocarrig avatar Mar 18 '22 16:03 cocarrig

Not sure if it helps, but using the Amazon app on my iPhone and sending the audio to my Sonos speaker via Airplay displayed the artwork from Amazon Music. When I switched back to the Sonos app and played the same song, the artwork went blank again.

pikuoff avatar Mar 22 '22 17:03 pikuoff

Additional info, this lack of artwork seems to be from Apple Music. My Apple stations won't display, Pandora does.

But I am also having issues with the buttons controls in Dak not functioning to play/pause/skip

@pfielding @cocarrig

mattb1993 avatar Aug 01 '22 16:08 mattb1993

@mattb1993, curious if you are using the Sonos app to play your Apple Music directly or if you are using Airplay from your phone? If I use Airplay and choose my Sonos speaker as the output, the artwork displays but it does not if I go into the Sonos app and play the music from there.

pikuoff avatar Aug 01 '22 17:08 pikuoff

@pikuoff I am using the App to control the speaker and stream, I am not playing content through my phone. No Airplay in use. Same with Pandora, it is an authorized account on my Sonos and I am playing direct through the speaker. Pandora shows every album artwork.

mattb1993 avatar Aug 01 '22 17:08 mattb1993

@mattb1993, so Apple Music has the same issue as Amazon Music. What I do as a workaround is to start the music via Airplay on my phone and then just switch over to the Sonos app to control the volume and/or skip tracks, etc.

pikuoff avatar Aug 01 '22 17:08 pikuoff

Hi Team,

Unfortunately I need to close this issue as unresolved. We have tried for some time now unsuccessfully to get information from the Sonos team on why intranet vs. internet image address locations are shared. Since intranet hosted content cannot be hosted in DAKboard screens without a corresponding industry signed certificate, we are unable to mitigate this issue in any way.

Some suggestions by the community have been made in this thread to help mitigate this, as a workaround we would suggest reviewing them to see if you use those particular apps.

cocarrig avatar Oct 06 '22 16:10 cocarrig