Lovelace: Mini Media Player

What version of mini-media-card are you on? (I may have missed you saying).

Problem solvedā€¦Mini Media Player 1.15.0, but config.yaml still quoted as v1.13.0.
Thank you

1 Like

@kalkih is there a way for the idle view to remain consistent with the chosen artwork view.? So when it idles, instead of it minimizing to the compact view it can remain full-cover.? I use the full-cover view or full-cover-fit view and I have an image that gets displayed when the player goes into idle mode. The problem is that the player goes into idle mode and changes to its compact view which impacts the placement of the other cards and the overall look of my layout.

Uff, it was a tough nut to crack, but I have finally finished my dashboard concerning multiple Sonos players and an Apple TV that sometimes took over my Sonos Beam.

I use a mix of conditional cards and entity filters, so the cards disappear or appear depending on if the Apple TV takes over, or the Sonos speakers become grouped.

Iā€™ve previously bothered with having binary sensors register if speakers are grouped or not, but they were generating a lot of errors on HA bootup, so this method using entity-filter is a lot more simple for me to grasp.

Currently it looks like this:

Code is the following:

type: custom:stack-in-card
title: Media
mode: vertical
cards:
  - type: conditional
    conditions:
      - entity: media_player.living_room_apple_tv
        state: playing
    card:
      type: custom:mini-media-player
      group: true
      artwork: material
      source: icon
      sound_mode: icon
      entity: media_player.living_room_apple_tv
      info: short
      name: Living Room
  - type: conditional
    conditions:
      - entity: media_player.living_room_apple_tv
        state_not: playing
    card:
      type: entity-filter
      entities:
        - type: custom:mini-media-player
          entity: media_player.living_room
          attribute: sonos_group
          group: true
          artwork: material
          info: short
          hide:
            power: true
            icon: true
          speaker_group:
            platform: sonos
            sync_volume: true
            entities:
              - entity_id: media_player.dining_room
                name: Sonos Dining Room
              - entity_id: media_player.kitchen
                name: Sonos Kitchen
              - entity_id: media_player.bathroom
                name: Sonos Bathroom
              - entity_id: media_player.bedroom
                name: Sonos Bedroom
          state_filter:
            - attribute: sonos_group
              operator: regex
              value: ^..media_player.living_room[^_]
  - type: entity-filter
    entities:
      - type: custom:mini-media-player
        entity: media_player.dining_room
        attribute: sonos_group
        group: true
        artwork: material
        info: short
        hide:
          power: true
          icon: true
        speaker_group:
          platform: sonos
          sync_volume: true
          entities:
            - entity_id: media_player.living_room
              name: Sonos Living Room
            - entity_id: media_player.kitchen
              name: Sonos Kitchen
            - entity_id: media_player.bathroom
              name: Sonos Bathroom
            - entity_id: media_player.bedroom
              name: Sonos Bedroom
        state_filter:
          - attribute: sonos_group
            operator: regex
            value: ^..media_player.dining_room[^_]
  - type: entity-filter
    entities:
      - type: custom:mini-media-player
        entity: media_player.kitchen
        attribute: sonos_group
        group: true
        artwork: material
        info: short
        hide:
          power: true
          icon: true
        speaker_group:
          platform: sonos
          sync_volume: true
          entities:
            - entity_id: media_player.dining_room
              name: Sonos Dining Room
            - entity_id: media_player.living_room
              name: Sonos Living Room
            - entity_id: media_player.bathroom
              name: Sonos Bathroom
            - entity_id: media_player.bedroom
              name: Sonos Bedroom
        state_filter:
          - attribute: sonos_group
            operator: regex
            value: ^..media_player.kitchen[^_]
  - type: entity-filter
    entities:
      - type: custom:mini-media-player
        entity: media_player.bathroom
        group: true
        attribute: sonos_group
        artwork: material
        info: short
        hide:
          power: true
          icon: true
        speaker_group:
          platform: sonos
          sync_volume: true
          entities:
            - entity_id: media_player.dining_room
              name: Sonos Dining Room
            - entity_id: media_player.living_room
              name: Sonos Living Room
            - entity_id: media_player.kitchen
              name: Sonos Kitchen
            - entity_id: media_player.bedroom
              name: Sonos Bedroom
        state_filter:
          - attribute: sonos_group
            operator: regex
            value: ^..media_player.bathroom[^_]
  - type: entity-filter
    entities:
      - type: custom:mini-media-player
        entity: media_player.bedroom
        group: true
        attribute: sonos_group
        artwork: material
        info: short
        hide:
          power: true
          icon: true
        speaker_group:
          platform: sonos
          sync_volume: true
          entities:
            - entity_id: media_player.dining_room
              name: Sonos Dining Room
            - entity_id: media_player.living_room
              name: Sonos Living Room
            - entity_id: media_player.kitchen
              name: Sonos Kitchen
            - entity_id: media_player.bathroom
              name: Sonos Bathroom
        state_filter:
          - attribute: sonos_group
            operator: regex
            value: ^..media_player.bedroom[^_]
2 Likes

Hello all,

Can someone tell me if I canedit the information that is on the field below the name of the TV? Its showing ā€œAppā€ but Iā€™m using Netflix. Is it possible to edit or to fetch the app from another entity?

image

thanks

What brand TV is it? There is a Sony custom component that allows greater control and detailed feedback from the TV

Sony, but the integration that is giving the description as ā€œAppā€ is the sony entity. the google cast entity of the TV is saying that the app_name is Netflix for example. I would like to have in the Sony integration the attribute with the same description that the google cast entity

Hello together,

I have a MusicCast multi-room setup and I like the way how I can handle grouping etc. with the Mini Media Player.
The standard HA media player has a button which opens the library, where I can actually chose a concrete source, like a specific preset, or a net radio channel.

Is there a way, how I can open the ā€œsourceā€ library from the mini media player card? Probably this is via buttons, but what would the service or action be, that opens the library?

Thanks for input!
Micha

2 step process, click the card, another card pops up with the library button available.

Ok, yes, I know.

But isnā€™t there a shortcut button, like on the default media player card?

Ok, so thatā€™s why I asked what brand it was. There is a Sony CUSTOM COMPONENT that gives you more detail about the apps running etc. ie: not a default / core integration.

Well I cannot see it there in the docs, but of course you should look for yourself as I may have missed it.

My Echo devices recognize these commands as being TTS and it says that the NOTIFY command needs to be used. Does anyone know how to get a streaming radio station URL to play using the mini media player with Echo devices.?

Only via TuneIn:

          buttons:
            - type: custom
              id: play Milano Lounge on tunein
              image: /local/images/MilanoLounge.png

Hello,
This is a screen capture of my mini media player cards.
I wonder if itā€™s possible to integrate thoses cards to my floorplan ?
And if so, how ?

Hi. i cant find, what can increase size of ā€œsource menuā€ button. how to increase size oof this button?

Hi!

Iā€™m trying to cast lovelace view to a google hub with only mini media player as a card.
It seems to work, but artwork is missing. Has anyone got the artwork to be displayed when using lovelace cast?

Hi all,

Is is possible to play a Sonos queue with Mini Media Player? I managed to play spotify playlist, sonos radio and favorites, but I havenā€™t managed to play from the Sonos queue. Thanks for your help/suggestions!

Hello, Iā€™m trying to color the icon inside the card as you can see below:

What iā€™d like to achieve is that each button change color if the related sensor is active or not.
The card code is the following:

 - type: custom:mini-media-player
        entity: media_player.salotto
        artwork: cover
        name: Salotto
        icon: mdi:soundbar
        icon_state: true
        volume_stateless: false
        volume_step: 5
        sound_mode: full
        hide:
          power_state: false
          controls: false
        shortcuts:
          columns: 2
          buttons:
            - name: Dialoghi
              icon: mdi:account-voice
              type: service
              id: switch.toggle
              data:
                  entity_id: switch.sonos_salotto_speech_enhancement
            - name: Notte
              icon: mdi:weather-night
              type: service
              id: switch.toggle
              data:
                  entity_id: switch.sonos_salotto_night_sound

What do you suggest to use?

Thatā€™s not a feature of this card, as far as Iā€™m aware. Head over to card-mod and look or ask for help there.