Display the queue for any given media player.
With the release of Music Assistant Player Card, this card is now in maintenance mode. While major bugs may be fixed as they arise, you should not expect any new features or improvements to be made.
Music Assistant Player Card includes all the features of this card along with a full-fledged music player, Music Assistant library browser, and adds features such as joining players, transferring queues, swiping between tracks, etc.
This card requires the custom integration Music Assistant Queue Actions to function. This integration must be installed before continuing!
In addition to the Music Assistant integration, this card depends on the custom integration mass_queue
for all the actions. Follow all instructions in the repository to install first.
- Use button above to add to your Home Assistant instance.
- Download the card.
- Navigate to the Releases and locate the latest release.
- Download
mass-card.js
- Save
mass-card.js
to your Home Assistant<config>/www
directory
- Add card to your HA resources
- Go to your Home Assistant Settings.
- Select "Dashboards"
- In the top left, select the three-dot overflow menu and click "Resources"
- Press "Add Resource". For the URL, type in "/local/mass-card.js". Select "JavaScript module" and click "Create".
The card does not have a visual editor. Use this configuration to create your card:
type: custom:mass-card
entity: media_player.music_assistant_player
title: Play Queue
expanded: false
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
type | str | Yes | n/a | Use custom:mass-card |
entity | str | Yes | n/a | The Music Assistant media_player entity to use |
title | str | No | Play Queue | Header title for card |
expanded | bool | No | false | Sets card to be expanded by default. User can always manually show/hide content |
limit_before | int | No | 5 | Number of item to display before current active item |
limit_after | int | No | 100 | Number of item to display after current active item |
show_album_covers | bool | No | true | Show album cover images for each item |
show_artist_names | bool | No | true | Show artist names for each item |
allow_collapsing | bool | No | true | Allow card to collapse when true, show full card (max 400px tall) if false |