Convert Kodi notifier to async (#2221)

* Convert Kodi notifier to async

* Change Kodi CONF_SSL to CONF_PROXY_SSL
This commit is contained in:
Adam Mills 2017-03-11 15:27:40 -05:00 committed by GitHub
parent eac242642d
commit b6b6057321
2 changed files with 5 additions and 4 deletions

View File

@ -28,11 +28,11 @@ media_player:
Configuration variables:
- **host** (*Required*): The host name or address of the device that is running XBMC/Kodi
- **host** (*Required*): The host name or address of the device that is running XBMC/Kodi.
- **port** (*Optional*): The HTTP port number. Defaults to 8080.
- **tcp_port** (*Optional*): The TCP port number. Defaults to 9090. Used for websocket connections to Kodi.
- **name** (*Optional*): The name of the device used in the frontend.
- **ssl** (*Optional*): Connect to kodi with HTTPS and WSS. Defaults to `false`.
- **proxy_ssl** (*Optional*): Connect to kodi with HTTPS and WSS. Defaults to `false`. Useful if Kodi is behind an SSL proxy.
- **username** (*Optional*): The XBMC/Kodi HTTP username.
- **password** (*Optional*): The XBMC/Kodi HTTP password.
- **turn_off_action** (*Optional*): The desired turn off action. Options are `none`, `quit`, `hibernate`, `suspend`, `reboot`, or `shutdown`. Default `none`.

View File

@ -22,12 +22,13 @@ To add Kodi to your installation, add the following to your `configuration.yaml`
notify:
- platform: kodi
name: NOTIFIER_NAME
host: http://192.168.0.123
host: 192.168.0.123
```
- **name** (*Optional*): Name displayed in the frontend. The notifier will bind to the service `notify.NOTIFIER_NAME`.
- **host** (*Required*): The host name or address of the device that is running Kodi.
- **port** (*Optional*): The port number, the default value is `8080`.
- **port** (*Optional*): The HTTP port number. Defaults to 8080.
- **proxy_ssl** (*Optional*): Connect to kodi with HTTPS. Defaults to `false`. Useful if Kodi is behind an SSL proxy.
- **username** (*Optional*): The XBMC/Kodi HTTP username.
- **password** (*Optional*): The XBMC/Kodi HTTP password.