Lovelace: Mini Media Player

Hi, does anyone how I can make this text bigger?

Anyone help with the correct syntax to create buttons for like/dislike with ytube_music_player? I have the code below but it does not work. Works in the developer tools though so hopefully just the formatting?

[EDIT] Does not work in developer tools so I’m obviously missing something. Can’t find an example anywhere.

type: custom:mini-media-player
entity: media_player.ytube_music_player
name: YouTube Music
artwork: cover
hide:
  shuffle: false
  icon_state: false
shortcuts:
  columns: 2
  buttons:
    - icon: mdi:thumb-up
      type: service
      id: ytube_music_player.rate_track
      data:
        rating: thumb_up
        entity_id: media_player.ytube_music_player
    - icon: mdi:thumb-down
      type: service
      id: ytube_music_player.rate_track
      data:
        rating: thumb_down
        entity_id: media_player.ytube_music_player
    - name: My Likes
      type: playlist
      id: LM

image

Is there an option to display the standard animated “dancing bars” when a particular device is playing? It would be great to have an easy visual clue (similar to what the Sonos native app has for active devices). Apologies if I missed something simple, but I haven’t been able to find this option.

What is that?

The three vertical bars on the right side of this image move up and down indicating that this device is actively playing music. Not looking for exactly the same look, but some visual indication that this particular device is actively playing music (besides just seeing a pause vs. play button).

Got it.

This didn’t get far. 💈 Animated icons

Maybe via some sort of CSS?

Thanks Nick. The custom buttons looks like it may work, but now I need to figure out how to put it all together. Any pointers on how to do this with the mini-media player card?

How did you integrate Pandora Radio?
I can’t find a way that works with HassOS

I’d also like to ask if there’s a way to get mini media player to show the songs in the playlist so I can choose which song to play?

If you are using SONOS then this can be achieved by adding your playlist to SONOS favorites. The SONOS favorites is the Source list in this Mini Media Player

Thanks for the reply. But no I’m not using Sonos

Is it possible to set the sonos favourites as button?
If yes, how?

What you mean with “source list” ? Can you share an example how to put sonos favorites in a source list?

Can you share the code you use for this?
Thanks…

I don’t have any examples as I changed from the mini media player over to the Sonos Player, it offers so many more options if you’re using a Sonos setup and is very easy to setup and maintain.

1 Like

I just started playing around with this and set up a player with buttons that choose different Spotify playlists. Since I am using chromecasts and home mini’s it appears the only way to include or exclude various speakers is to create groups in the Home app and then use the media_player that gets created with those groups. However in my current button setup it only allows for the name of one media_player. Would it be possible to pass a variable to the Device_Name so that an input_select could be created with a list of all the media_players and choose a value to play in the mini_media_player? Then I could pick and choose the media_players based on the groups I created that should be playing. Unless there is another way to accomplish this?

buttons: 
    - name: Christmas 
      type: service 
      icon: mdi:music 
      id: spotcast.start 
      data: 
          device_name: ChromecastAudio.   <- pass a variable/data template here?
          uri: spotify:playlist:37i9dQxxxx

Yes, it can be done, but you’ll have to use this to achieve what you want.

Hi all - Is it possible to define a static image to be displayed in place of the album art if not art is available? Thanks.

Thanks, this worked!

1 Like

I tried searching for an answer to this but didn’t see anything. I am noticing a delay with the cover artwork changing when the next song begins and sometimes it doesn’t change at all (using Spotify). If I do a refresh of the lovelace page it immediately changes to the next song’s artwork. Is there something I can change that would control this that should be changed? I notice too that the not only is the artwork not moving to the next song the song title and progress bar aren’t changing.

Could it have anything to do with having this card in a stack-in-card or since maybe I am using the config-template-card could that have any impact?

Did you check the docs?

1 Like