Minimizing of the configuration sample (#1033)

This commit is contained in:
Fabian Affolter 2016-10-02 17:12:48 +02:00 committed by GitHub
parent bb9533e546
commit a175486bb3
26 changed files with 117 additions and 123 deletions

View file

@ -11,9 +11,10 @@ logo: gpmdp.png
ha_category: Media Player
ha_iot_class: "Local Polling"
ha_release: "0.20"
ha_iot_class: "Local Polling"
---
The `gpmdp` media player platform allows you to control a [GPMDP](http://www.googleplaymusicdesktopplayer.com/) instance running on a computer from Home Assistant.
You will have first have to check "Enable playback API" in GPMDP's settings and then add an inbound rule to the firewall to allow access to port 5672 on the computer running GPMDP.
@ -23,13 +24,12 @@ Then just add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
media_player:
platform: gpmdp
host: IP_ADDRESS
name: NAME
- platform: gpmdp
host: IP_ADDRESS
```
Configuration variables:
- **host** (*Required*): IP address of the computer running GPMDP
- **name** (*Optional*): Name of the player
- **host** (*Required*): IP address of the computer running GPMDP.
- **name** (*Optional*): Name of the player.