Music Assistant Player Card v2.7.0
Calling for translations!
This card currently only has full support for English and partial support for Dutch, French, and Portuguese. Contributing is simple - check the readme for more details.
What's New
Modern Expressive Design recommendations have been applied to fonts across the cards when expressive: true is set. Almost all text has been touched with this change! Please provide feedback! I'm not a UI expert; if you don't like how something looks, I would like to know.
A new configuration option has been added for entities - inactive_when_not_updated. When set to true, the player will be considered inactive when it's last_updated attribute is more than 240 minutes ago. When false, this will never be used in the consideration. This option is set to true by default in order to keep the default behavior consistent with the past.
Additionally, the following theme tokens have been added:
-
Media Player
- All:
mass-player-card-player-control-icon-colormass-player-card-player-control-text-colormass-player-card-player-button-favorite-icon-colormass-player-card-player-button-mute-icon-colormass-player-card-player-button-next-icon-colormass-player-card-player-button-play-pause-icon-colormass-player-card-player-button-play-icon-colormass-player-card-player-button-pause-icon-colormass-player-card-player-button-power-icon-colormass-player-card-player-button-previous-icon-colormass-player-card-player-button-repeat-icon-colormass-player-card-player-button-shuffle-icon-colormass-player-card-player-button-repeat-text-colormass-player-card-player-button-shuffle-text-color
- Expressive Only:
mass-player-card-player-button-favorite-text-colormass-player-card-player-button-power-text-color
- Non-Expressive Only:
mass-player-card-player-button-next-text-colormass-player-card-player-button-play-pause-text-colormass-player-card-player-button-play-text-colormass-player-card-player-button-pause-text-colormass-player-card-player-button-previous-text-color
- All:
-
Media Browser
- All:
mass-player-card-search-text-colormass-player-card-search-placeholder-text-colormass-player-card-browser-enqueue-menu-icon-[primary/secondary]-color
- All:
🚀 Enhancements
- Utilize modern Expressive Design for fonts @droans (#673)
- Allow setting search text/placeholder colors, player buttons text/icon color @droans (#681)
- Allow setting different icon, text colors for play, pause button @droans (#685)
- Allow setting primary, secondary colors of enqueue button @droans (#686)
- Add config option
inactive_when_not_updated@droans (#693)
🐛 Bug fixes
- Fix: Queue item border radius for non-expressive configs @droans (#667)
- Fix:
lit-virtualizerunavailable in some circumstances @droans (#668) - Fix: Navbar position on non-expressive; styles update @droans (#675)
- Fix broken button groups CSS on media, player rows @droans (#676)
- Use custom definition of lit-virtualizer so it's not redefined. @droans (#678)
- Fix re-definition import @droans (#680)
- Fix: Use correct style tokens for player button icon, text colors @droans (#684)
🧰 Maintenance
- CSS Cleanup @droans (#669)
- Use specific border radiuses for expressive, non-expressive @droans (#670)
- Improve consistency between expressive, non-expressive themes @droans (#671)
- Show
entity_picturewhen rendering active queue item if `entity_pic… @droans (#674) - Only add box shadow to navbar if expressive theme is set @droans (#682)
- Always scroll to top of queue when selected in navbar @droans (#683)
⬆️ Dependency updates
- Update BeerCSS from 3.12.11 to 4.0.20 @droans (#672)
- Build(deps): Bump ip-address from 10.0.1 to 10.2.0 @dependabot[bot] (#691)
- Build(deps-dev): Bump typescript-eslint from 8.57.1 to 8.58.1 @dependabot[bot] (#655)
- Build(deps-dev): Bump eslint from 10.0.3 to 10.2.0 @dependabot[bot] (#654)
- Build(deps-dev): Bump eslint-plugin-unicorn from 63.0.0 to 64.0.0 @dependabot[bot] (#653)
- Build(deps): Bump @ktibow/material-color-utilities-nightly from 0.4.1768930731000 to 0.4.1772748028000 @dependabot[bot] (#651)
- Build(deps-dev): Bump @typescript-eslint/eslint-plugin from 8.57.2 to 8.59.3 @dependabot[bot] (#652)