Redo the snapcast integration

Currently snapcast integration is just showing a list of servers and clients which isn’t very productive to use in my opinion.

In my setup I have one snapserver with multiple clients. I don’t care about the snapserver itself but more about my input sources: spotify, mopidy and bluetooth.

So here is a suggestion that would make snapcast integration way more usable:


For every input you get a box where you can disable/enable the clients you want to have. Enabling Client 1 in Input 1 would disable the client in all other inputs which is similar to the snapcast android app.

Any opinions?

Hi @mrwsl - I notice from your other post that you have managed to greatly improve the way you have integrated snapcast into HA.

I am just trying to set up the snapcast ‘faders’ into custom mini-media-player groups. I’d really appreciate it if you could please share a) how you set up the groups and b) how you got snapcast to switch between sources (like MPD, bluetooth etc)
Thanks

Sure:

entities:
  - entity: media_player.snapcast_group_xx
    group: true
    hide:
      power: true
      volume: true
    info: short
    source: icon
    type: 'custom:mini-media-player'
  - entity: media_player.snapcast_client_xxx
    group: true
    hide:
      controls: true
    type: 'custom:mini-media-player'
  - entity: media_player.snapcast_client_xxx
    group: true
    hide:
      controls: true
    type: 'custom:mini-media-player'
  - entity: media_player.snapcast_client_xxx
    group: true
    hide:
      controls: true
    type: 'custom:mini-media-player'
  - entity: media_player.snapcast_client_xxx
    group: true
    hide:
      controls: true
    type: 'custom:mini-media-player'
type: entities

When you chose the group first it will let you pick the sources :wink: