Mini Media Player

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

Github星跟踪图

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

主要指标

概览
名称与所有者kalkih/mini-media-player
主编程语言TypeScript
编程语言JavaScript (语言数: 2)
平台Web browsers
许可证MIT License
所有者活动
创建于2018-09-12 18:02:48
推送于2024-10-25 18:47:33
最后一次提交2024-01-27 09:37:01
发布数74
最新版本名称v1.16.9 (发布于 )
第一版名称v0.1 (发布于 2018-09-13 16:18:41)
用户参与
星数1.6k
关注者数42
派生数214
提交数560
已启用问题?
问题数673
打开的问题数190
拉请求数149
打开的拉请求数4
关闭的拉请求数35
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?