Skip to content

droans/mass_card

Repository files navigation

GitHub Release Beta Downloads

HACS Maintainer GitHub Activity License

Music Assistant Queue Card

Display the queue for any given media player.

⚠️ NOTICE - Maintenance Mode

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.

❗ Important:

This card requires the custom integration Music Assistant Queue Actions to function. This integration must be installed before continuing!

Install with HACS:

My Home Assistant

Desktop:

Queue Card Example

Mobile:

Queue Card Mobile Example

Installation

Prequisites

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.

HACS Installation

  1. Use button above to add to your Home Assistant instance.

Manual Installation

  1. 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
  2. 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".

Configuration

The card does not have a visual editor. Use this configuration to create your card:

Example

type: custom:mass-card
entity: media_player.music_assistant_player
title: Play Queue
expanded: false

Parameters

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

About

Music Assistant Queue Card for Home Assistant

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published