Skip to content

OzGav/MA-floorplan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

card

This requires use of the mass.get_queue action which is only available in the HACS Music Assistant integration

To use this you need the following custom components added via HACS

There are 3 files needed

  • media-player-card.svg You can modify this as you like with Inkscape. This file goes in the location shown in the dashboard.yml file
  • media-player-card.css This file goes in the location shown in the dashboard.yml file
  • media-card.yaml This is a package and goes in your packages directory. There are URLs in this file that need to be changed to your system

dashboard.yml is the frontend code which can be added via the UI or YAML. You need to edit the URL in there to be your MA URL

For the images cd.png needs to go in config/www and you need to grab this empty.png and place it in that folder as well

All other images go in an images folder below the location of the media-player-card.svg

In order for the identification of like players for linking you need to suffix your MA players in HA to have the following suffix at the end of their entity_id (dont worry about player types other than those listed)

  • Airplay players - _provap
  • Bluesound players - _provbs
  • Slimproto players - _provsp
  • Snapcast players - _provsc
  • Sonos players - _provsn
  • Universal Group Players - _provug

If you don't add the suffix then all MA players will be shown as an option to link and errors will be shown in the log if you try and link players that may not be linked.

You may see warnings in your HA log about an input select not having a valid option anymore. This is normal for dynamically created input_select lists

You need to edit media-card.yaml and add the friendly names for your players to the first input_select. These are case sensitive.

You need to ensure port 8095 is enabled for the MA webserver

There appears to be a couple of bugs in get_queue which will get fixed eventually. Sometimes the next item is not shown correctly, sometimes an error is thrown when a player doesn't have an active queue and sometimes the URL to the disc art is not returned.

This is provided as-is without support.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages