core/homeassistant/components/media_player
Eugenio Panadero f7d25396a4 Kodi specific service to call Kodi API methods (#7603)
* Kodi specific services to call Kodi API methods

 - new service: `kodi_execute_addon` to run a Kodi Addon with optional parameters. Results of the Kodi API call, if any, are redirected in a Home Assistant event: `kodi_execute_addon_result`.
 - new service: `kodi_run_method` to run a Kodi JSONRPC API method with optional parameters. Results of the Kodi API call are redirected in a Home Assistant event: `kodi_run_method_result`.
 - Add descriptions in services.yaml.
 - Add `timeout` parameter to yaml config (needed to make slow queries to the JSONRPC API, default timeout is set to 5s).
 - Trigger events with the results of the Kodi API calls, with:
 ```
 event_data = {
   'result': api_call_results,
   'result_ok': boolean,
   'input': api_call_parameters,
   'entity_id': 'media_player.kodi'}
```

* no need to clean OrderedDicts; no need for the `kodi_execute_addon` service

* no need for the `kodi_execute_addon` service

* unused import

* naming changes
2017-05-17 08:42:47 -04:00
..
__init__.py Guard against no content type (#7432) 2017-05-03 20:12:51 -07:00
anthemav.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
apple_tv.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
aquostv.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
braviatv.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
cast.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
clementine.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
cmus.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
demo.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
denon.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
denonavr.py Fixed potential AttributeError when checking for deleted sources (#7502) 2017-05-09 07:24:18 +02:00
directv.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
dunehd.py Update docstrings (#7405) 2017-05-02 22:47:20 +02:00
emby.py Update docstrings (#7405) 2017-05-02 22:47:20 +02:00
firetv.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
frontier_silicon.py Upgrade netdisco to 1.0.0rc2 (#7008) 2017-04-11 20:10:02 -07:00
gpmdp.py Update docstrings (#7405) 2017-05-02 22:47:20 +02:00
gstreamer.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
hdmi_cec.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
itunes.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
kodi.py Kodi specific service to call Kodi API methods (#7603) 2017-05-17 08:42:47 -04:00
lg_netcast.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
liveboxplaytv.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
mpchc.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
mpd.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
nad.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
onkyo.py Switch onkyo to pypi (#7497) 2017-05-09 08:13:29 +03:00
openhome.py Update docstrings (#7405) 2017-05-02 22:47:20 +02:00
panasonic_viera.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
pandora.py Update docstrings (#7405) 2017-05-02 22:47:20 +02:00
philips_js.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
pioneer.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
plex.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
roku.py Switch basicmodem and python-roku to pypi (#7514) 2017-05-09 20:23:19 -07:00
russound_rnet.py Switch russound, pymysensors, and pocketcasts to pypi (#7449) 2017-05-07 02:22:38 +02:00
samsungtv.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
services.yaml Kodi specific service to call Kodi API methods (#7603) 2017-05-17 08:42:47 -04:00
snapcast.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
sonos.py Add sonos alarm clock update service (#7521) 2017-05-15 00:42:45 -07:00
soundtouch.py Update docstrings (#7405) 2017-05-02 22:47:20 +02:00
spotify.py Correct retrieval of spotify shuffle state (#7505) 2017-05-09 17:35:30 +02:00
squeezebox.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
universal.py Update docstrings (#7405) 2017-05-02 22:47:20 +02:00
vlc.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
volumio.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
webostv.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
yamaha.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00