Skip to content

Releases: droans/mass_card

v0.8.1

04 Sep 12:58
e764f25

Choose a tag to compare

Music Assistant Queue Actions v0.8.1

🐛 Bug fixes

  • Improve config validation and eliminate potential memory/CPU spikes @droans (#27)
  • Handle getQueue failures @droans (#29)

v0.8.1-b2

02 Sep 16:19
627435d

Choose a tag to compare

v0.8.1-b2 Pre-release
Pre-release

Music Assistant Queue Actions v0.8.1

🐛 Bug fixes

  • Improve config validation and eliminate potential memory/CPU spikes @droans (#27)
  • Handle getQueue failures @droans (#29)

🚀 Enhancements

  • Improve config validation and eliminate potential memory/CPU spikes @droans (#27)

🧰 Maintenance

v0.8.1-b1

29 Aug 00:33
78f832d

Choose a tag to compare

v0.8.1-b1 Pre-release
Pre-release

Music Assistant Queue Actions v0.8.1

🐛 Bug fixes

  • Improve config validation and eliminate potential memory/CPU spikes @droans (#27)

🧰 Maintenance

v0.8.0

15 Aug 16:53
8616a6a

Choose a tag to compare

Music Assistant Queue Card v0.8.0

The card relies on Music Assistant Queue Actions v0.3.0. If you are coming from v0.7.0, you will already have this installed. The card will NOT function unless the integration has been updated. Please update the integration before updating the card.

What's new

New parameter:

  • allow_collapsing: Default True. Allows user to choose whether card should be collapsible or a normal card.

Styling changes:

Queue Card Mobile Example

  • Item rows expanded to take full width of container
  • Thumbnail for played items no longer leaving a blank white area when background is a different color
  • Icons now show at beginning of row
  • Action button size increased
  • Added border radius to icons
  • Increased row height
  • Increased action button gap
  • Titles now expand to next element - items with no action buttons (or only move down/remove), will have longer titles

Other

  • Use ha-md components
    • ha-list and ha-list-items are now changed to ha-md-list and ha-md-list-items
    • Titles, artists now on separate lines
  • Card now wrapped in ha-card element which should allow for card-mod usage

Full Changelog: v0.7.0...v0.8.0

v0.7.0

12 Aug 14:37

Choose a tag to compare

Music Assistant Queue Card v0.7.0

Breaking Changes

The card relies on Music Assistant Queue Actions v0.3.0. The card will NOT function unless the integration has been updated. Please update the integration before updating the card.

New Features

  • New Card Parameters:
    • limit_before: Choose the number of items to display after the currently played track. Defaults to 5.
    • limit_after: Choose the number of items to display after the currently played track. Defaults to 100.
    • show_album_covers: Choose whether to display or hide the album cover art. Defaults to true (shown).
    • show_artist_names: Choose whether to display or hide the artist names. Defaults to true (shown).
  • Played items will now appear dimmed

Queue Card Mobile Example

Other changes

  • Reverted bug that caused the active track to display action buttons
  • Move up, next action buttons for next item in queue are no longer visible as they should not perform any functions and, at times, would cause issues
  • Use HA elements where possible

v0.6.0

05 Aug 13:16
25a2af2

Choose a tag to compare

Music Assistant Queue Card v0.6.0

Breaking Changes

The card relies on Music Assistant Queue Actions v0.2.0. The card will NOT function unless the integration has been updated. Please update the integration before updating the card.

Changes

MANY optimization improvements.

  • Card actions are now performed optimistically
    The card will update optimistically. Any action performed is assumed to have worked and the card is updated to match. The card will then "sync" its state by listening to events sent by the Music Assistant Queue Actions integration.

This greatly reduces overhead as the card will not be updating itself every time it thinks a change could have occurred. This should also make the card more responsive to external changes to the queue.

Additional improvements:

  • Improved caching
  • Do not update row items when unchanged
  • Improved queue mapping performance
  • Improve row items handling
  • Adjust border radius of row items

Full Changelog: v0.5.1...v0.6.0

v0.5.1

31 Jul 18:25
36c84d0

Choose a tag to compare

  • Refactored code to be more efficient
  • Force queue items to use default card background
  • Remove action buttons for items already played as MA will not handle action

What's Changed

Full Changelog: v0.5.0...v0.5.1

v0.5.0-More Actions!

30 Jul 15:56

Choose a tag to compare

More action buttons!

Buttons have been added for moving queue items up, down, and next! No update is required for mass_queue as these actions are already present.

Queue Card Example

Queue Card Mobile Example

Other changes:

  • Titles will now properly show on larger screens! Previously, these were always trimmed at 36 characters. While that looked nice on mobile, it left a large blank area on the screen. The code is now using CSS to automatically trim to the proper size.
  • Action buttons are now properly centered
  • Scrollbar has been removed
  • Selecting an action button will no longer make the card think that item was selected

What's Changed

  • Add move queue items actions by @droans in #5

Full Changelog: v0.4.0...v0.5.0

v0.4.0 - Expanding on titles

30 Jul 13:12

Choose a tag to compare

This release adds two new optional parameters:

  • title (Default: "Play Queue"): Set the title of the card.
  • expanded (Default: false): If set to true, the card will be expanded by default.

v0.3.0

29 Jul 18:30
17a52af

Choose a tag to compare

Music Assistant Queue Card v0.3.0

  • Replaced manual scripts, Pyscripts with services from custom integration

IMPORTANT

This card no longer requires custom scripts or Pyscript code. In its place, we are instead using my custom Music Assistant Queue integration. This must be installed before upgrading.

The benefits for using the custom integration include

  • Reduced complexity for the user
  • Improved performance
  • Uses the official music_assistant_client Python package for nearly all calls
  • Simplifies future updates (such as moving items up/down/next in queue) as the user is not required to manually update their Pyscript codes or HA scripts.