Mini Media Player
A minimalistic yet customizable media player card for Home Assistant Lovelace UI.
Inspired by Custom UI: Mini media player and custom-lovelace.
Install
This card is available in HACS (Home Assistant Community Store)
Simple install
-
Download and copy
mini-media-player-bundle.js
from the latest release into yourconfig/www
directory. -
Add a reference to
mini-media-player-bundle.js
inside yourui-lovelace.yaml
.
resources:
- url: /local/mini-media-player-bundle.js?v=1.6.0
type: module
CLI install
-
Move into your
config/www
directory -
Grab
mini-media-player-bundle.js
$ wget https://github.com/kalkih/mini-media-player/releases/download/v1.6.0/mini-media-player-bundle.js
- Add a reference to
mini-media-player-bundle.js
inside yourui-lovelace.yaml
.
resources:
- url: /local/mini-media-player-bundle.js?v=1.6.0
type: module
(Optional) Add to custom updater
-
Make sure you've the custom_updater component installed and working.
-
Add a new reference under
card_urls
in yourcustom_updater
configuration inconfiguration.yaml
.
custom_updater:
card_urls:
- https://raw.githubusercontent.com/kalkih/mini-media-player/master/tracker.json
Updating
-
Find your
mini-media-player-bundle.js
file inconfig/www
or wherever you ended up storing it. -
Replace the local file with the latest one attached in the latest release.
-
Add the new version number to the end of the cards reference url in your
ui-lovelace.yaml
like below.
resources:
- url: /local/mini-media-player-bundle.js?v=1.6.0
type: module
You may need to empty the browsers cache if you have problems loading the updated card.