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

Main metrics

Overview
Name With Ownerkalkih/mini-media-player
Primary LanguageTypeScript
Program languageJavaScript (Language Count: 2)
PlatformWeb browsers
License:MIT License
所有者活动
Created At2018-09-12 18:02:48
Pushed At2024-10-25 18:47:33
Last Commit At2024-01-27 09:37:01
Release Count74
Last Release Namev1.16.9 (Posted on )
First Release Namev0.1 (Posted on 2018-09-13 16:18:41)
用户参与
Stargazers Count1.6k
Watchers Count40
Fork Count215
Commits Count560
Has Issues Enabled
Issues Count667
Issue Open Count185
Pull Requests Count149
Pull Requests Open Count4
Pull Requests Close Count35
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private