yes, but MusicAssistant does make that work. Asking here as minutnudler has integrated the MA search function into his card, so maybe the same can be done for groups…
There’s currently no way afaik that a custom card can do that. If Music Assistant can do on the fly groups for chromecast then it’s a MA bug that the join action is not supported.
ah, that’s a good point minutnudler, MA isn’t doing it “on the fly”…it’s creating a group in settings which is then being made available.
Will have a look closer with MA…thanks again for the great cards!
There’s an option to change the button size?
Not currently no. I do have plans to have the card be more easily tweaked by css variables, but for now it just is the way it is.
Thanks for the quick fix
One thing is still unclear to me. The main volume slider (yellow box) only changes the volume of the main speaker “Esszimmer” and doesn’t use the Link Volume option.
The slider under “Grouped Speakers” for the main speaker (red box) adjusts all speaker volumes when Link Volume is on.
The other sliders under Grouped Speakers (green box) only change their own speaker.
Is there a reason for this? I’d expect the main slider (yellow) to control all speakers, and the red/green sliders to only adjust individual volumes, but maybe that’s just me.
“Esszimmer” and “Wohnzimmer” are basically one room, so I adjust the volumes individually to sound the same. But now, I always have to open the Grouped Speakers section and use the red slider to change the overall volume, which seems “far away”.
The main reason is that I don’t know the ins and out how all these different brands work. I expect some speakers will actually do the volume sync themselves when the main speaker volume is adjusted. If they do that then my volume sync will break things.
So it’s a bit of a, better safe than sorry, thing.
What I could do was add a setting for it in the config. I also have two recievers that are in one big open room and have experienced some annoyance with adjusting that main speaker slider and only hearing one part of the room change volume.
Yes, that sounds exactly like my issue. When I move the main volume slider (the yellow one in the screenshot), only the main speaker changes volume.
All my speakers are “Music Assistant” player entities. “Esszimmer” is a HomePod Mini (via AirPlay) and “Wohnzimmer” is a Denon AVR (also via AirPlay).
A setting like “Link volumes to main speaker” in the card settings, would be an elegant solution. That way, you could create a “Global Media Card” where all speakers follow the main slider. And still have separate cards for each room where the main slider only controls that room’s speaker.
Hi, Great card!
I wonder about the grouping functionality. I have three Sonos speakers but I dont always play music from the same speakers. See my code with some comments below.
type: custom:mediocre-massive-media-player-card
mode: in-card
entity_id: media_player.stue_ma (somehow be able to add all speakers here?)
action: {}
speaker_group:
entities:
- media_player.kontor_ma
- media_player.kjokken_ma
- media_player.stue_ma
(be able to group/ungroup any speakers)
use_art_colors: false
search:
enabled: true
ma_entity_id: media_player.stue_ma
It would be great if it was possible to group/ungroup any speaker, for example if I want to not play music on stue_ma but only kjokken_ma and kontor_ma.
Does that make sense?
It makes sense and is exactly what the maxi media card is made for.
The mediocre cards are made with a focus on each individual speaker as a ‘master’.
So with mediocre you would have a card for each of your speakers.
With maxi media player you have one card that is used for all speakers.
I had a similar issue and i’m also using a media integration which uses its own grouping service, which made it especially complicated. I solved it with a “dynamic grouping script”. It has a few variables like “selected speaker” and “target speaker” so I can dynamically use it in any card to dynamically group all speakers. In that script I then included various logics which control what should happen depending on the grouped/playback state of the speakers. Works flawless, is super versatile and maybe this solution could also work for you
Indeed, that would be awesome! Any idea if it’s somewhere on the roadmap for sonos?
BTW:these card absolutely rock great work
Hello. Your Media Player Card is fantastic, but I have problem with Bluesound speakers grouping. Bluesound doesn’t support join command, the only solution I found to group in Home Assistant is this custom integration using mini media player: GitHub - aunefyren/bluesound_alt: Custom Bluesound HACS integration. . Is it possible to add this functionality to your Media Player Card? My Mini Media Card yaml:
type: custom:mini-media-player
entity: media_player.pnode_left_updated
artwork: material
group: false
hide:
power: true
icon: true
source: false
speaker_group:
platform: bluesound
show_group_count: true
entities:
- entity_id: media_player.pnode_left_updated
name: LEFT
- entity_id: media_player.flex_kitchen_updated
name: FLEX
- entity_id: media_player.pnode_right_updated
name: RIGHT
I would probably just use music assistant in your case since they support bluesound as a player provider.
Then you use the music assistant entities in the card since music assistant does support the join command.
No idea about Sonos, but if they start supporting it, search will work with the cards, so I hope so