update header
This commit is contained in:
parent
9d5c7ceecd
commit
6b30fc714c
1 changed files with 5 additions and 6 deletions
|
@ -1,12 +1,12 @@
|
||||||
"""
|
"""
|
||||||
homeassistant.components.media_player.kodi
|
homeassistant.components.media_player.kodi
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
Provides an interface to the XBMC/Kodi JSON-RPC API
|
Provides an interface to the XBMC/Kodi JSON-RPC API
|
||||||
|
|
||||||
Configuration:
|
Configuration:
|
||||||
|
|
||||||
To use Kodi add something like this to your configuration:
|
To use the Kodi you will need to add something like the following to
|
||||||
|
your config/configuration.yaml.
|
||||||
|
|
||||||
media_player:
|
media_player:
|
||||||
platform: kodi
|
platform: kodi
|
||||||
|
@ -19,7 +19,7 @@ Variables:
|
||||||
|
|
||||||
name
|
name
|
||||||
*Optional
|
*Optional
|
||||||
The name of the device
|
The name of the device.
|
||||||
|
|
||||||
url
|
url
|
||||||
*Required
|
*Required
|
||||||
|
@ -27,13 +27,12 @@ The URL of the XBMC/Kodi JSON-RPC API. Example: http://192.168.0.123/jsonrpc
|
||||||
|
|
||||||
user
|
user
|
||||||
*Optional
|
*Optional
|
||||||
The XBMC/Kodi HTTP username
|
The XBMC/Kodi HTTP username.
|
||||||
|
|
||||||
password
|
password
|
||||||
*Optional
|
*Optional
|
||||||
The XBMC/Kodi HTTP password
|
The XBMC/Kodi HTTP password.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import urllib
|
import urllib
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue