Lovelace: Mini Media Player

Hello
I use plex tolisten music on my sonos speakers. Is it possible to see the current playlist with the media player card so I can see what comes next ?
Thanks

This worked! Thank you for your fast response.

from here: Beoplay

I suggest you post an issue in the beoplay github asking for join/unjoin services so that @kalkih can add to the speaker_group functionality.

Hi

Is it possible to have a input_select as the device_name: using spotcast as a short cut.

input_select:
    sound_targets:
      name: 'Select Speakers:'
      options:
        - Google Study
        - Google Garage
        - Google Kitchen
        - Google Bedroom
        - Google Home
        - Bose
      initial: Google Home
      icon: mdi:speaker-wireless

Then in lovelace

          - type: entities
            entities:
              - type: 'custom:mini-media-player'
                name: Spotify
                artwork: cover
                artwork_border: true
                entity: media_player.spotify
                group: false
                icon: ''
                hide:
                  mute: false
                  power_state: true
                  source: true
                scroll_info: true
                show_progress: true
                source: icon
                shortcuts:
                  buttons:
                  - name: Cams Classics
                    type: service
                    id: spotcast.start
                    data:
                      device_name: {{states.input_select.sound_targets.state}}
                      uri: spotify:playlist:6AD1X7ZuZKzOcwq8a9u11t
                  - name: 2 Cellos
                    type: service
                    id: spotcast.start
                    data:
                      device_name: {{states.input_select.sound_targets.state}}
                      uri: spotify:playlist:0LXa3hI8Jaedsf4nnUshst

I have tried this but its not working.

Any Help please.

Install this for templates to work in any lovelace card:

Thanks Tom

But its not working.

        - type: custom:card-templater
          card:
          entities:
                - type: 'custom:mini-media-player'
                  name: Google Bedroom
                  style: !include includes/style.yaml
                  artwork: cover
                  artwork_border: true
                  entity: media_player.spotify
                  group: false
                  icon: ''
                  hide:
                    mute: false
                    power_state: true
                    source: true
                  scroll_info: true
                  show_progress: true
                  source: icon
                  shortcuts:
                    buttons:
                    - name: Cams Classics 2
                      type: service
                      id: spotcast.start
                      data:
                        device_name_template: >-
                            {{states.input_select.sound_targets.state}}
                        uri: spotify:playlist:6AD1X7ZuZKzOcwq8a9u11t

You would be better off asking in the template card thread. This isn’t mini media player specific.

Ok Thanks i found this card that does what i want.

Do you have any link to a description?
it already have the following:

    def join_experience(self):
        """Join on ongoing experience"""
        self._speaker.joinExperience()
    def leave_experience(self):
        """Leave experience"""
        self._speaker.leaveExperience()

looks like thats the part

Hi all,

I setup a few mini-media-player cards. For some reason the buttons are not visible, but I can press them. Any ideas what that could be? Here is the code

type: conditional
conditions:
  - entity: media_player.schlafzimmer
    state_not: paused
  - entity: media_player.schlafzimmer
    state_not: idle
card:
  type: 'custom:mini-media-player'
  style: |
    ha-card {
     margin: 0px 14px -5px 14px;
     }
  entity: media_player.schlafzimmer
  icon: 'mdi:cast'
  artwork: cover
  artwork_border: true
  power_color: true
  scroll_info: true
  show_source: true
  mini-media-player-base-color: null

For a start, i have no idea what an “experience” is in this context.

The beoplayer integration needs a service that joins or unjoins speakers to a group. Please see the source and docs for the supported integrations (which are listed in the mini-media-player docs).

But above all, you need to have this conversation with the beoplayer author on his github. When/if he has implemented the appropriate services, come back and post an issue on the mini-media-player github.


same here, Version 0.110.2

Greetings
El Grande

see the post here

1 Like

:man_facepalming:

“First of all: Check for updates” - what I always tell my family and friends.

Thanks a lot

1 Like

I seem to have 1.9.1 and the buttons are still invisible

Have you cleared your browser cache?

Awesome work! Fellow Google guy here just wrapping my head around Home Assistant (loving the possibilities), and this was just what I was looking for.

Hi , @kalkih , sorry to bother , i was trying to play with the squeezebox group , from services i used
squeezebox.sync and it works , but squeezebox.join doesn’t exist.
Is squeezebox still not available or i am missing something ?
Thanks

Nevermind , my bad i didn’t update to latest version
Thanks so much , the job you made is awesome

MAy i ask if is possible to control volumes separately , i do not see the controls of the single players.
thanks

empty browser cache… :slight_smile: