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
關注者數40
派生數215
提交數560
已啟用問題?
問題數667
打開的問題數185
拉請求數149
打開的拉請求數4
關閉的拉請求數35
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?