Media Player Card with Grouping Support and Custom Buttons

That makes sense. I’ll put it on my list of things to do :slight_smile:

1 Like

On the latest beta you can now select a default tab on multi.

In addition to that the multi card has a new compact mode that is the size of the OG mediocre card.
Massive has also had some changes. It is now rendered as a multi card that just doesn’t have to ability to change player focus, and has some tweaks to make it more like the old massive card.

1 Like

Hi - great card! Thanks for the work!

Quick question on volume controls.

My set up is a sonos player connected to a stereo receiver with 5.1 speakers in main room, and zone 2 wired to a set of ceiling speakers in the adjacent kitchen.

I’ve been using a secondary card with two bubble sliders to control the volume in the two zones.

Is there a way to deal with this in your card where the “volume entities” are different than the media player and the ability to enable multiple zones so when I click on the volume I can see both “Family Room” and “Kitchen” with two independent volume sliders?

I’m afraid not. You would be able to control both players volume with UMP, but that would just be a single slider.

Is the receiver a yamaha with musiccast by chance? Because then you could actually get what you want if you use the music cast entities for the group part of the card, and then group main and zone 2.

I just want to say that I absolutely LOVE this card. I have been trying to use Music Assistant for months, but could never succeed because of various issues with other cards and glitches that would stop the playback, or not start it properly, or others.

I use this with a Musiccast sytem with 8 different media players and it works flawlessly when it comes to linking, unlinking, and adjusting volume. I love that I can also change the source within the card! I also really appreciate the ability to add my own shortcut buttons within the card, which I use to open popups with various sound settings for my receiver, as well as for a button which I have run an automation which resyncs all my media players as sometimes after a few days one or two of them tends to lag behind a bit.

Since I love this card so much, I don’t know if I’d ever want to use another! It is the first time that playing music at home has the wife approval through HA an not the musiccast app.

That being said, I have a few suggestions/requests that I think would REALLY make this card the best of the best.

  1. Add option to put “Favorite” shortcut in the main navigation tab, like next to queue or something
  2. When searching for media (which functions SO well), in the enqueue mode, is there any way to click “Play Radio”
  3. Add ability to exclude certain media players from the group volume — for example, I’d like my bathroom media player to always remain at a constant volume even if I turn up the volume everywhere else in the house. I used another media player card that had this function and I loved it, but I didn’t love everything else about that card nearly as much as this one!

Feel free to ignore these comments or suggestions, but the most important thing I want to say is THANK YOU for all of your work on this.

2 Likes

Is there a way to limit the max volume?

Not with this card no. However it’s often possible to limit volume on the receiver / smart speaker (I think).

1 Like

How to eliminate from the MA search the podcast and audiobook tabs?

I had to delete mass-card from all my dashboards because I traced to it a ridiculous amount of mass_queue get queue items service calls (ten per second) clogging up my database to many gigabytes. Anytime a dashboard of mine is displaying that shows any mass-card, the behavior materializes and the HA bus is flooded with those calls. Of course battery life on my devices took a precipitous nosedive.

Sorry, would not recommend. I’d share the SQL queries I used to diagnose the issue but I am busy with baby. I can tell you how to identify if you have the same issue quickly tho: go to services in developer tools and monitor the event bus for service_call event types while having another tab or browser displaying a mass-card. If you see your events tab flooded by mass_queue service calls, you are affected.

I’m very excited to use these cards. I have Heos devices. It looks like the Play button in your card calls the media_play_pause action. Unfortunately, the media_pause action is not valid on Heos devices when playing certain sources. For instance, when I am streaming Sirius/XM I cannot use the media_pause action, I must use the media_stop. However, when I am streaming Amazon music, I can use media_pause. The controls for the generic media player entities seem to figure this out. In automations, I just use media_stop, as that always works. Is there a way to configure your card to use media_stop and media_play instead of media_play_pause so I can get this to work with my Heos players?

I had similar issues with my players because they have all kinds of quirks… for example things like skipping or stopping depend on which source is active.

The UMP integration solved all these problems, so maybe check it out. It basically lets you create a media player which behaves exactly how you want it. It’s also great for a lot of other things like merging several players into one.

2 Likes

Not sure why you are commenting about mass-card here? This is a thread about the mediocre cards.
I can say that mediocre cards have a caching system in place so it shouldn’t be possible for it to go crazy with the mass_queue calls. Basically if any identical call is fired in to fast succession it just uses the last response instead of calling the service again.

Try out the latest beta. It fixes issues with players that don’t support the pause action.

1 Like

Thanks! The update works great.

1 Like

Hi, I have a small problem when using the Mediocre Multi Media Player card in compact format: the player focus buttons are outside the edges of the card as you can see below

Has anyone encountered the same problem?

That’s intentional. You can horizontally scroll. On mobile you just swipe horizontally. On desktop you hover your mouse over the chips and shift + scroll (or whatever your os shortcut is for horizontal scroll).

1 Like

Ok. Thank you

1 Like

Hi @minutnudler,.I just love these cards, great work and appreciate you maintaining it even though you have busy days with kids and other commitments!!!

I have some issues achieving the same visual layout as in your docs and I'm unsure where I'm messing up. Specifically the part where opening search pops up within the card (see here), it opens as a tab instead (see here). Here's the config:

type: custom:mediocre-massive-media-player-card
entity_id: media_player.desktop_pc_ma
use_art_colors: true
mode: card
speaker_group:
  entity_id: media_player.desktop_pc_ma
  entities:
    - media_player.desktop_pc_ma
    - media_player.bedroom_tv_ma
    - media_player.living_room_tv_ma
    - media_player.bathroom_bathroom_speaker_ma
search:
  - entity_id: media_player.desktop_pc_ma
    name: Desktop PC (MA)
media_browser:
  - entity_id: media_player.desktop_pc_ma
    name: Desktop PC (MA)
ma_entity_id: media_player.desktop_pc_ma
ma_favorite_button_entity_id: button.desktop_pc_ma_favorite_current_song

Any clue what I'm doing wrong? Thanks in advance!

Hi @minutnudler , hope your summer has been nice, any chance to read this?