From 4fa841cd8bec1258920b7ce47402625ce9b25be1 Mon Sep 17 00:00:00 2001 From: Panagiotis Panagiotopoulos Date: Fri, 26 Jun 2020 17:54:26 +0300 Subject: [PATCH] Update README and info file --- README.md | 13 ++++++++----- info.md | 3 ++- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d460313..eb6afac 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,11 @@ # Group MusicCast Speakers with [Home Assistant](https://github.com/home-assistant/home-assistant) +[![](https://img.shields.io/github/v/release/ppanagiotis/pymusiccast.svg?style=flat-square?style=flat-square)](https://github.com/ppanagiotis/pymusiccast/releases/latest) After waiting a year for [pymusiccast](https://github.com/jalmeroth/pymusiccast/) to support speakers group I decide to create a custom module, overwriting existing pymusiccast module, using code from this [PR](https://github.com/jalmeroth/pymusiccast/pull/13) (credits [@hcoohb](https://github.com/hcoohb)). -![musiccast group management example](group_speakers.gif?raw=true "musiccast group management example") +![musiccast group management example](https://github.com/ppanagiotis/pymusiccast/raw/master/group_speakers.gif?raw=true "musiccast group management example") ## Install @@ -12,15 +13,13 @@ After waiting a year for [pymusiccast](https://github.com/jalmeroth/pymusiccast/ TODO ### Manual install -- Copy entire pymusiccast folder under `$HOMEASSISTANT_CONFIG/custom_components/`. - or -- git clone git@github.com:ppanagiotis/pymusiccast.git under `$HOMEASSISTANT_CONFIG/custom_components/`. +- Copy entire `pymusiccast/custom_components/pymusiccast` folder under `$HOMEASSISTANT_CONFIG/custom_components/`. + ## Setup - At `media_server` component you have to add the following entry for each media player you want to add ```yaml ---- - platform: musiccast_yamaha host: `your.speaker.ip.address` port: 5009 @@ -47,6 +46,8 @@ action: entity_id: `THE_CLIENT_SPEAKER` ``` +## Using grouping at home assistant with [custom:mini-media-player](https://github.com/kalkih/mini-media-player) + To add the group layout at custom:mini-media-player you have to add something like this at your ui-lovelace.yaml: ```yaml @@ -116,3 +117,5 @@ views: entity: media_player.yard toggle_power: false ``` +## License +This project is under the MIT license. diff --git a/info.md b/info.md index a8cdb46..70e6549 100644 --- a/info.md +++ b/info.md @@ -1,9 +1,10 @@ +[![](https://img.shields.io/github/v/release/ppanagiotis/pymusiccast.svg?style=flat-square?style=flat-square)](https://github.com/ppanagiotis/pymusiccast/releases/latest) Group Yamaha MusicCast Speakers with [Home Assistant](https://github.com/home-assistant/home-assistant) -![Preview Image](group_speakers.gif) +![Preview Image](https://github.com/ppanagiotis/pymusiccast/raw/master/group_speakers.gif?raw=true) ## Features