krislars
(Kristen Larson)
September 10, 2023, 5:56am
1
Under what conditions will the dashboard show cover art for an mp3 song? I’m sure that the cover art is embedded, but I’ve tried folder art, too. I’ve tried uploading local media and from DNLA on the Synology, but never can see the cover art. Streaming services show the cover art fine. Is it possible?
What card are you talking about when saying “dashboard show cover”?
krislars
(Kristen Larson)
September 10, 2023, 7:44pm
3
I’ve tried the built-in media control card (media_player entity) and the mini-media-player card, both on Lovelace. I now understand that mini-media-player is a card based on the same media_player entity, so I’m guessing that if the built-in media control card doesn’t find the cover art, mini-media-player won’t either.
krislars
(Kristen Larson)
September 10, 2023, 7:58pm
4
When I browse from the media tab in the main menu, I see cover art:
But the Lovelace media control card does not show it:
When I browse media from the card itself, I see the cover art again, but when I play it, still the blue on the card itself.
I do not see covers:
This is a local media folder added by:
homeassistant:
media_dirs:
music: /music
in configuratiuon.yaml & by this option in “docker run” command:
-v /home/media:/media
These mp3 & flac files have embedded covers.
Also, I wonder what the integration is you are using to play local media files?
I mean this:
May be this is related to your question:
covers are not displayed for local files played by a service call:
service: media_player.play_media
target:
entity_id: media_player.kodi_rpi
data:
media_content_type: "audio/mp3"
media_content_id: "media-source://media_source/music/Zacarias Ferreira - Me Sobran Las Palabras.mp3"
opened 10:27PM - 18 Sep 23 UTC
integration: kodi
### The problem
I have a Kodi integration.
Kodi itself is setup on RPi, medi… a content is stored on network shares.
Assume I have some MP3 file which has an embedded cover.
When I start Kodi on RPi and play this file I see this:
![изображение](https://github.com/home-assistant/core/assets/71872483/2770d184-52f9-4d52-a503-2f5eba932dcb)
So far it's OK, the cover is displayed.
Next, assume I have same file in a local media folder:
```
homeassistant:
media_dirs:
music: /music
```
which I also can play on HA page (sound comes from my client device):
![изображение](https://github.com/home-assistant/core/assets/71872483/329c95ea-fd54-4a0e-ba6e-6ef0437ad161)
But let's play it by using a corr. `media_player` service:
```
service: media_player.play_media
target:
entity_id: media_player.kodi_iiyama
data:
media_content_type: "audio/mp3"
media_content_id: "media-source://media_source/music/Zacarias Ferreira - Me Sobran Las Palabras.mp3"
```
and I see this:
![изображение](https://github.com/home-assistant/core/assets/71872483/a62d4ede-229c-4b94-84b5-ff7336eaa0ab)
No cover is displayed.
### What version of Home Assistant Core has the issue?
2023.9.2
### What was the last working version of Home Assistant Core?
_No response_
### What type of installation are you running?
Home Assistant Container
### Integration causing the issue
Kodi
### Link to integration documentation on our website
https://www.home-assistant.io/integrations/kodi/
### Diagnostics information
_No response_
### Example YAML snippet
_No response_
### Anything in the logs that might be useful for us?
_No response_
### Additional information
_No response_
Just created this issue.
Tried to play a local file by Kodi integration; the Kodi itself is located on some RPi.