Mini Media Player

家居助理 Lovelace UI 的简约媒体卡片。「Minimalistic media card for Home Assistant Lovelace UI」

Github stars Tracking Chart

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.

Preview Image

Install

This card is available in HACS (Home Assistant Community Store)

Simple install

  1. Download and copy mini-media-player-bundle.js from the latest release into your config/www directory.

  2. Add a reference to mini-media-player-bundle.js inside your ui-lovelace.yaml.

resources:
  - url: /local/mini-media-player-bundle.js?v=1.6.0
    type: module

CLI install

  1. Move into your config/www directory

  2. Grab mini-media-player-bundle.js

$ wget https://github.com/kalkih/mini-media-player/releases/download/v1.6.0/mini-media-player-bundle.js
  1. Add a reference to mini-media-player-bundle.js inside your ui-lovelace.yaml.
resources:
  - url: /local/mini-media-player-bundle.js?v=1.6.0
    type: module

(Optional) Add to custom updater

  1. Make sure you've the custom_updater component installed and working.

  2. Add a new reference under card_urls in your custom_updater configuration in configuration.yaml.

custom_updater:
  card_urls:
    - https://raw.githubusercontent.com/kalkih/mini-media-player/master/tracker.json

Updating

  1. Find your mini-media-player-bundle.js file in config/www or wherever you ended up storing it.

  2. Replace the local file with the latest one attached in the latest release.

  3. 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.

Using the card

Options

Card options

Overview

Name With Ownerkalkih/mini-media-player
Primary LanguageTypeScript
Program languageJavaScript (Language Count: 2)
PlatformWeb browsers
License:MIT License
Release Count74
Last Release Namev1.16.9 (Posted on )
First Release Namev0.1 (Posted on 2018-09-13 16:18:41)
Created At2018-09-12 18:02:48
Pushed At2024-02-12 14:46:31
Last Commit At2024-01-27 09:37:01
Stargazers Count1.4k
Watchers Count43
Fork Count206
Commits Count560
Has Issues Enabled
Issues Count624
Issue Open Count150
Pull Requests Count148
Pull Requests Open Count2
Pull Requests Close Count34
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private
To the top