Skip to content

Commit

Permalink
🔖 Update docs & version v1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kalkih committed May 25, 2020
1 parent df27e23 commit 0ef04dd
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 9 deletions.
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ Inspired by [Custom UI: Mini media player](https://community.home-assistant.io/t

1. Download and copy `mini-media-player-bundle.js` from the [latest release](https://github.com/kalkih/mini-media-player/releases/latest) into your `config/www` directory.

2. Add a reference to `mini-media-player-bundle.js` inside your `configuration.yaml` or in the Home Assistant UI from the resource tab.
2. Add a reference to `mini-media-player-bundle.js` inside your `configuration.yaml` or through the Home Assistant UI from the resource tab.

```yaml
resources:
- url: /local/mini-media-player-bundle.js?v=1.8.1
- url: /local/mini-media-player-bundle.js?v=1.9.0
type: module
```
Expand All @@ -32,14 +32,14 @@ Inspired by [Custom UI: Mini media player](https://community.home-assistant.io/t
2. Grab `mini-media-player-bundle.js`

```console
$ wget https://github.com/kalkih/mini-media-player/releases/download/v1.8.1/mini-media-player-bundle.js
$ wget https://github.com/kalkih/mini-media-player/releases/download/v1.9.0/mini-media-player-bundle.js
```

3. Add a reference to `mini-media-player-bundle.js` inside your `ui-lovelace.yaml`.
3. Add a reference to `mini-media-player-bundle.js` inside your `configuration.yaml` or through the Home Assistant UI from the resource tab.

```yaml
resources:
- url: /local/mini-media-player-bundle.js?v=1.8.1
- url: /local/mini-media-player-bundle.js?v=1.9.0
type: module
```

Expand All @@ -48,11 +48,11 @@ Inspired by [Custom UI: Mini media player](https://community.home-assistant.io/t

2. Replace the local file with the latest one attached in the [latest release](https://github.com/kalkih/mini-media-player/releases/latest).

3. Add the new version number to the end of the cards reference url in your `configuration.yaml` or thourh the UI like below.
3. Add the new version number to the end of the cards reference url in your `configuration.yaml` or through the Home Assistant.

```yaml
resources:
- url: /local/mini-media-player-bundle.js?v=1.8.1
- url: /local/mini-media-player-bundle.js?v=1.9.0
type: module
```

Expand All @@ -78,7 +78,7 @@ Inspired by [Custom UI: Mini media player](https://community.home-assistant.io/t
| sound_mode | string | optional | v1.1.2 | Change sound mode select appearance, `icon` for just an icon, `full` for the full sound mode name.
| info | string | optional | v1.0.0 | Change how the media information is displayed, `short` to limit media information to one row, `scroll` to scroll overflowing media info.
| volume_stateless | boolean | false | v0.6 | Swap out the volume slider for volume up & down buttons.
| volume_step | number | optional | v1.9.0 | Change the volume step size of volume buttons (number between 1 - 100).
| volume_step | number | optional | v1.9.0 | Change the volume step size of volume buttons (number between 1 - 100)<sup>[1](#option_foot1)</sup>.
| max_volume | number | optional | v0.8.2 | Specify the max vol limit of the volume slider (number between 1 - 100).
| min_volume | number | optional | v1.1.2 | Specify the min vol limit of the volume slider (number between 1 - 100).
| replace_mute | string | optional | v0.9.8 | Replace the mute button, available options are `play_pause` (previously `play`), `stop`, `play_stop`, `next`.
Expand All @@ -89,6 +89,8 @@ Inspired by [Custom UI: Mini media player](https://community.home-assistant.io/t
| shortcuts | object | optional | v1.0.0 | Media shortcuts in a list or as buttons, see [Shortcut object](#shortcuts-object) for available options.
| scale | number | optional | v1.5.0 | UI scale modifier, default is `1`.

<a name="option_foot1"><sup>1</sup></a> Only supported on entities with `volume_level` attribute.

#### Idle object
| Name | Type | Default | Description |
|------|------|---------|-------------|
Expand Down
12 changes: 12 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## v1.9.0
### NEW
- Squeezebox multiroom support (#312) **(BETA)**
- Volume step size option for volume buttons #219 (#308) @craiq
- Added `cover` option for shortcut items #236 (#314)

### FIXED
- Fixed misaligned icons #305 (#310)
- Fixed misaligned multiroom button #305 (#313)
- Updated bluesound service calls for speaker group management #296 (#315)


## v1.8.1
### FIXED
- Changed icon element for HA > 0.110.0 support #302 (#304)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mini-media-player",
"version": "v1.8.1",
"version": "v1.9.0",
"description": "A minimalistic yet customizable media player card for Home Assistant Lovelace UI",
"keywords": [
"home-assistant",
Expand Down

0 comments on commit 0ef04dd

Please sign in to comment.