-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
album art not showing when playing from pandora #582
Comments
Can you provide the attributes for the media player while playing Pandora? Also, if you use the webapp, does it show album art? |
Sorry, I thought I had provided the platforms I tested in; I have tested in Safari(mac), Chrome(mac), and the HA iOS app. - entity: media_player.office
type: media-control (I have no idea why the code block is ignoring a new line. The yaml is properly configured in my config) attributes shown in developer tools while playing : EDIT: Fixed code block, please take a look on how to address in future. |
Ok, I was able to confirm it. However, if the entity_picture attribute is populating, then it's up the HA UI to figure out how to display it. The custom_component won't be able to change anything that the UI does. If you see a use case where the entity_picture is not being populated, then we may be able to do something on the component side. We are literally providing the information from the Alexa media API which is successfully displayed by Amazon UI elements and the mini-media-player. It's also possible that Pandora is passing back an invalid URL and the UI team will say it's the components job to catch bad data from the API. I don't think that's the right response to this but may consider that. While I don't know the specifics of the UI, it's probably because of the This is what I see in chrome. <div class="image" style="background-image: url(https://dyn-images.p-cdn.com/?l=images%2Fpublic%2Fint%2F0%2F8%2F9%2F4%2F00602577464980%3Acover()&w=500&h=500)"></div> You'll need to report it to the HA UI team and point out that mini-media-player properly handles it. |
By the way, I have a fix, but HA should really fix it in their own code or any other media player may have the problem and they should guard their own input. |
Thank you, Alan. I appreciate you looking into this. I love the Alexa_media_player integration. Glad you were able to find a workaround :) You guys are awesome |
Album art not showing when playing from pandora.
(aside: The mini-media-player does show art)
Looking at the web inspector it appears the album art is coming from https://dyn-images.p-cdn.com.
When playing music from amazon and not pandora album art works fine. The background image url / entity_picture is https://m.media-amazon.com
While troubleshooting I have updated this component, reinstalled the component and also update to latest HA version.
System details
pip show alexapy
or HA startup): 1.5.1The text was updated successfully, but these errors were encountered: