Add image to Media Player Card

Hi Everyone,

i am struggeling on finding a way to modify the media_player card.

ps4lovlace

Lets take this as an example. I would like to replace this

mpicon

with an image of a Playstation for example. Any clou on how to do this ?

thanks in advance

Hey Chris,

the media_player card displays the image of the metadata being played, e.g. an album art.
If there’s something wrong, you can edit what Home Assistant uses as metadata for each item (game) played: https://www.home-assistant.io/integrations/ps4/#media-data
You can’t really customize this card. However you could use a picture entity that pops up “more-info” when being clicked.
Alternatively you could use sth. like https://github.com/kalkih/mini-media-player - a ton of customization there.

Thanks, i saw that. What i am trying to do is something like an… lets call it device overview. So when you go to the “media tab” in lovelace one could select the different devices by clicking a picture of them.

So there would be pictures of a ps4, avr, other consoles etc. And when you click them you would get the options that are avaliabe… like on/off etc.

What about just using pictures that link to those devices?

That would work… but how do i do that. I know the picture card… but how do i link it to an entity eg: media_player.playstation_4

type: picture
image: /local/ps4.jpg
tap_action:
  action: none
hold_action:
  action: none

Use an “entity picture card” https://www.home-assistant.io/lovelace/picture-entity/
Or a https://www.home-assistant.io/lovelace/picture-glance/

i guess… a card with a picture (of a playstation for example) triggering another card (media_player) is more what i am looking for.