Releases: droans/mass-player-card
v1.1.0-b2
v1.1.0-b1
v1.0.0
Music Assistant Queue Actions v0.6.0-b10
What's New
Music Player
You can now change the active player directly from the Music Player tab - no need to navigate to the Players tab!
Media Browser
Enqueue Your Music
Items can now be enqueued in any way supported by Music Assistant - play now, next, or add to queue! And if you look at the top, you might notice a new button...
Search your providers
You can search your provider! Select any media type and even choose whether to search your library or perform a global search.
Favorites aren't my thing.
Want to just view all your media items? Now you can! Each section can be set to display all media items or just your favorites. Just make the change below to your config:
type: mass-player-card
...
favorites:
albums:
favorites_only: falseNOTE: Music Assistant will only pull up to 500 items (or fewer, depending on your config). It will always pull in alphabetical order. Additionally, a large number of items can cause performance issues. It's recommended that you consider if this is the best option for you - it might be better to just add custom items.
Hide elements
Various elements on each tab can now be hidden, either per card or per player entity. These include:
Music Player
- Favorite Button
- Mute Button
- Player Selector
- Power Button
- Repeat Button
- Shuffle Button
- Volume Bar
Player Queue
- Album Covers*
- Artist Names*
- Move Down Button
- Move Up Button
- Move Next Button
- Remove Button
- All Action Buttons
* These can already be hidden with show_album_covers and show_artist_names. However, those options may be removed in the future.
Media Browser
- Back Button
- Search bar and search button
- Item/section titles
- Play Next Button
- Play Now Button
- Play Next and Clear Queue Button
- Play Now and Clear Queue Button
- Add to Queue Button
- Entire enqueue menu
Players
- Join Button
- Transfer Button
- All action buttons
Take a look at the Readme for more information.
🐛 Bug fixes
🚀 Enhancements
- Add enqueue button @droans (#77)
- Add search @droans (#79)
- Continue adding search @droans (#80)
- Allow sections to get all library items instead of just favorites @droans (#88)
- Add player dropdown on music player tab @droans (#89)
- Add ability to remove elements @droans (#95)
🧰 Maintenance
v0.5.1
v0.5.0
Music Assistant Queue Card v0.5.0
IMPORTANT
The update relies on Music Assistant Queue Actions v0.6.0. The card will NOT function unless the integration has been updated. Please update the integration before updating the card.
What's New
This release has a lot of improvements - big and small. Let's start with the big.
Media Player
- A power button has been added to turn the player on and off
- A favorite button has been added - add and remove the currently playing item from your favorites
- FYI - Music Assistant handles favorites oddly. You can favorite any item but you can only unfavorite items that are in the local media database. As MA adds all favorited items to the DB, this is only an issue when you are first adding something. Subsequent plays will pull from the local database.
- You can now set the media_player to use for volume control along with the max volume!
Media Browser
Add your own sections and cards!
Custom items can be added as either a media item or as a service/script. This is not present in the config editor but instead requires the user to manually edit the card. The example config below can help you get started:
type: custom:mass-player-card
...
media_browser:
favorites:
albums:
items:
- name: Show Out
image: https://resources.tidal.com/images/10c59b67/bb86/4960/8071/a23a03b8cbdd/750x750.jpg
service: script.play_show_out
sections:
- name: My Favorites
image: https://resources.tidal.com/images/10c59b67/bb86/4960/8071/a23a03b8cbdd/750x750.jpg
items:
- name: Show Out
image: https://resources.tidal.com/images/10c59b67/bb86/4960/8071/a23a03b8cbdd/750x750.jpg
service: script.play_show_out
- name: The Show Goes On
image: https://resources.tidal.com/images/9a18c67f/1062/4068/986b/45654fade74a/750x750.jpg
media_content_id: tidal://track/241647167
media_content_type: track
- name: TRUSTFALL (Album)
image: https://i.scdn.co/image/ab67616d0000b2735b8cf73dd4eebd286d9a2c78
media_content_id: library://artist/40
media_content_type: track
- name: Where Is The Love?
image: https://resources.tidal.com/images/b15ef956/5eed/43ba/9bba/d1ea1c3e48a4/750x750.jpg
media_content_id: tidal://track/222419939
media_content_type: track
Other changes:
- Set your own favorite limits: You're no longer stuck with always showing 25 items for each favorites section - go ahead and set five or fifty items!
- Titles have been added for each section.
- The browser is MUCH faster to load - all requests are awaited simultaneously
- Switching sections should be much faster - the card no longer clears and reloads the tabs.
- The config editor has been updated to include favorite counts.
- The test for mixed content has been improved
- Improved dark mode support
- Set player names and alternate volume media players (IE - for cast entities).
- Size of volume slider has been increased
🐛 Bug fixes
- Fixed config editor schema for favorite items @droans (#36)
- Fix Test Mixed Content @droans (#37)
- Add padding for item cards @droans (#50)
- Set font size of track artist @droans (#52)
- Correct section title @droans (#64)
🚀 Enhancements
- Enhance browser @droans (#36)
- Speed up media browser @droans (#38)
- Add support for custom sections @droans (#39)
- Adjust card title backgrounds @droans (#40)
- Improve dark mode support @droans (#41)
- Add toggle button @droans (#43)
- Allow setting player name, volume entity @droans (#47)
- Increase volume slider thickness @droans (#48)
- Add favorite button @droans (#49)
- Allow setting
max_volumefor entities @droans (#55) - Preload and hide sections instead of reloading when they are selected @droans (#58)
- Add Section Titles @droans (#60)
- Add back button to media browser @droans (#61)
- Add support for custom items for Favorites sections @droans (#62)
🧰 Maintenance
- Simplify config processing @droans (#54)
- Allow setting
max_volumefor entities (#55) - Linting, update target @droans (#56)
- Linting, Misc Fixes @droans (#57)
⬆️ Dependency updates
Full Changelog: 0.4.2...0.5.0
v0.4.2
v0.4.1
v0.4.0
Music Assistant Player Card v0.4.0
Redesigned media browser!
Instead of using collapsible sections with rows, the browser now uses cards for both the sections and media items. You can also click the tab again to exit out of the current section.
Additionally, this takes us a step closer to adding custom media items.
🚀 Enhancements
- New media browser @droans (#21)
- Update layout of next and previous buttons @droans (#22)
- Add fallback icons for all sections @droans (#27)
🧰 Maintenance
What's Changed
- CI by @droans in #20
- New media browser by @droans in #21
- Misc updates by @droans in #23
- Update layout of next and previous buttons by @droans in #22
- Update readme by @droans in #24
- Avoid loading mixed content by @droans in #25
- Update readme by @droans in #26
- Add fallback icons for all sections by @droans in #27
- Merge dev into main by @droans in #28
Full Changelog: 0.3.1...v0.4.0
v0.3.1
v0.3.0
Music Assistant Queue Actions v0.3.0
New Features!
- On the media player tab, the artwork can now be swiped to go to prior/next track
Bugs fixed:
- Artwork is no longer repeated if it doesn't fill container
- Failure to get queue will no longer cause the tab to crash
- Artwork is no longer removed when player is paused
🐛 Bug fixes
- Ensure background isn't repeated @droans (#10)
- Handle
getQueuefailures @droans (#11) - Don't remove artwork if paused @droans (#8)