punxaphil / custom-sonos-card

Home Assistant custom lovelace sonos card
192 stars 21 forks source link

Cover picture missing when casting #271

Closed Thomsen-79 closed 8 months ago

Thomsen-79 commented 9 months ago

Release with the issue: latest*

Last working release (if known):dont know*

Browser and Operating System: Home assistant 11.4 on rpi 4*

Description of problem:when casting the Dashboard with nabu casa (in my case to a google nest hub max) with the sonos card I can in the right column see the cover pics, but when its played it dont show in the “player” sektion.* IMG_8311

punxaphil commented 9 months ago

Yes those images use different kind of URL:s and it is not something I can control as a card developer. The ones on the right are public URLs, such as: https://i.scdn.co/image/ab67616d0000b2733ec130c06ae2a96540e237b9 The ones in the player have this format: /api/media_player_proxy/media_player.spotify_cewan?token=509f7a5cd69d6aed967fa3a4ca20fef9b9a2d8016f4637cf82e458c80a142e25&cache=65636222436bb103

So as you see the ones in the player are local URLs pointing to an image on your own Home Assistant server. You probably need to investigate why your Google Nest Hub Max cannot access images on your Home Assistant server.

punxaphil commented 8 months ago

Should be fixed in https://github.com/punxaphil/custom-sonos-card/releases/tag/v7.0.0 with fix: make http-2-https configurable for thumbnails