Eugenio Panadero 1bb8aeccd1 Kodi specific service to call Kodi API methods

 (#2635)
* Kodi specific services to call Kodi API methods



 - Doc for 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`.

 - Doc for 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 `timeout` parameter to yaml config (needed to make slow queries to the JSONRPC API, default timeout is set to 5s).

 - Examples for using the new services: one simple yaml example to call `kodi_execute_addon`and turn on the TV attached to Kodi; and other, more complex, to query the Kodi library and make a dynamic input select.

* remove `kodi_execute_addon` service; change example to work with `kodi_run_method`

* naming changes

* complex example to cookbook

* Update media_player.kodi.markdown
2017-05-17 08:43:27 -04:00
..
2017-04-22 11:17:00 +02:00
2017-03-26 12:49:31 +02:00
2017-04-04 20:50:19 -07:00
2017-05-12 10:03:10 -07:00
2017-04-05 15:40:34 +02:00
2016-09-01 17:20:19 +02:00
2017-04-14 23:48:09 +02:00
2017-04-23 14:18:02 +02:00
2016-09-19 15:28:03 +02:00
2017-04-01 22:14:51 +02:00
2017-05-13 23:00:20 +02:00
2016-09-26 08:35:26 +02:00
2016-03-13 17:12:36 +01:00
2016-11-19 15:55:39 -08:00
2016-11-23 08:24:39 +01:00
2017-02-01 17:43:33 +01:00
2017-04-23 10:43:23 +02:00
2016-12-05 08:53:35 +01:00
2017-05-13 23:00:20 +02:00
2017-05-06 13:23:53 -07:00
2016-12-05 08:53:35 +01:00
2016-10-24 15:38:38 +02:00
2017-04-23 19:12:10 +02:00
2016-11-23 08:24:39 +01:00
2017-02-25 12:30:29 +01:00
2016-04-12 11:09:00 +02:00
2016-06-21 11:49:56 +02:00
2017-04-28 10:51:01 +02:00
2017-04-28 10:23:52 +02:00
2016-10-02 17:18:11 +02:00
2017-04-29 12:10:59 +02:00
2017-04-29 12:10:59 +02:00
2017-04-29 12:10:59 +02:00
2016-11-23 08:24:39 +01:00
2017-01-26 16:36:25 +01:00
2016-08-27 12:53:28 +02:00
2017-01-14 19:19:28 +01:00
2017-01-30 12:39:56 +01:00
2017-01-14 11:01:49 +01:00
2017-04-22 11:16:59 +02:00
2016-03-01 07:44:23 +01:00
2017-01-14 11:01:49 +01:00
2017-01-28 21:45:36 +01:00
2016-09-10 23:56:44 +02:00
2016-08-27 11:36:03 +02:00
2017-01-26 16:36:25 +01:00
2016-12-13 14:34:16 -05:00
2017-02-02 23:18:52 +01:00
2017-01-28 21:44:38 +01:00
2017-04-16 09:49:29 +02:00
2017-05-15 14:09:37 +02:00
2017-02-25 15:54:11 -08:00
2017-04-24 09:30:36 +02:00
2016-12-03 13:56:28 +01:00
2017-02-11 18:09:54 +01:00
2017-02-23 19:02:49 +01:00
2017-01-28 21:45:36 +01:00
2017-04-24 09:30:36 +02:00
2017-01-30 12:39:56 +01:00
2017-05-01 11:17:21 +02:00
2017-04-30 09:47:48 +02:00
2017-04-22 11:17:00 +02:00
2017-01-24 11:28:50 +01:00
2016-04-30 16:39:56 +02:00
2016-11-23 08:24:39 +01:00
2016-04-30 16:39:56 +02:00
2017-01-26 16:36:25 +01:00
2017-03-14 07:38:02 +01:00
2016-02-07 14:20:52 -08:00
2016-11-23 08:24:39 +01:00
2016-04-30 16:39:56 +02:00
2017-01-30 08:05:53 -05:00
2017-04-30 09:47:48 +02:00
2017-04-26 09:13:23 +02:00
2017-03-17 17:44:08 -07:00
2017-02-25 23:20:07 +01:00
2017-04-09 08:39:53 +02:00
2017-02-10 20:40:42 -08:00
2017-01-29 00:37:45 +01:00
2017-04-24 09:30:36 +02:00
2017-01-06 18:44:56 +01:00
2017-04-24 09:30:36 +02:00
2016-10-22 13:26:52 +02:00
2017-02-23 19:03:41 +01:00
2016-10-21 17:47:48 +02:00
2017-03-14 11:15:09 +01:00
2016-10-25 14:38:17 +02:00
2017-05-14 15:49:41 +02:00
2016-12-03 13:56:11 +01:00
2016-12-03 14:04:04 +01:00
2017-04-24 09:30:36 +02:00
2017-05-13 23:00:20 +02:00
2017-04-02 17:31:04 -04:00
2017-01-28 21:45:14 +01:00
2017-04-09 12:12:01 +02:00
2016-11-15 08:42:26 +01:00
2017-04-23 10:49:50 +02:00
2017-04-24 09:30:36 +02:00
2017-02-23 19:03:41 +01:00
2016-08-13 17:02:34 +02:00
2017-02-16 18:17:30 +01:00
2016-10-25 16:02:27 -07:00
2017-05-06 13:23:53 -07:00
2017-03-16 14:54:03 +01:00
2017-04-08 16:22:17 -07:00
2016-02-07 14:20:52 -08:00
2017-05-16 08:17:59 +02:00
2017-04-24 09:30:36 +02:00
2016-12-03 13:56:11 +01:00
2017-04-01 22:14:51 +02:00
2016-10-07 00:28:01 -04:00
2017-03-16 15:49:22 +01:00
2017-03-15 19:06:18 +01:00
2017-02-04 09:59:13 +01:00
2017-04-23 17:47:19 +02:00
2017-01-14 11:01:49 +01:00
2016-08-14 14:29:57 -07:00
2017-02-16 18:16:53 +01:00
2017-02-26 11:58:53 -08:00
2016-11-03 11:04:11 +01:00
2016-11-03 11:04:11 +01:00
2017-04-30 19:30:24 +02:00
2016-11-04 23:45:19 -07:00
2017-05-13 23:00:20 +02:00
2016-11-23 08:24:39 +01:00
2017-01-26 16:36:25 +01:00
2016-09-06 16:31:35 +02:00
2017-04-23 17:47:19 +02:00
2016-10-04 17:27:34 +02:00
2017-01-14 11:01:49 +01:00
2017-01-28 21:45:14 +01:00
2017-01-03 16:45:51 +01:00
2017-04-24 14:27:08 +02:00
2016-10-05 15:44:06 -07:00
2017-01-28 21:45:14 +01:00
2016-10-25 08:55:14 +02:00
2017-05-10 15:54:11 -04:00
2017-03-26 10:40:46 +02:00
2017-05-07 00:38:52 -07:00
2016-10-10 16:53:34 +02:00