From bf5eee8529516388e75bcd230aebc11f73bb5502 Mon Sep 17 00:00:00 2001 From: NovaGL <16315601+NovaGL@users.noreply.github.com> Date: Sun, 7 Jul 2019 17:45:31 +1000 Subject: [PATCH 1/2] Create UI --- views/commands.html | 231 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 231 insertions(+) create mode 100644 views/commands.html diff --git a/views/commands.html b/views/commands.html new file mode 100644 index 0000000..7adbbbc --- /dev/null +++ b/views/commands.html @@ -0,0 +1,231 @@ + + + +

 

+ +
+

Kodi API

+ +

All commands are for a single kodi instance unless multiple hosts are setup in the kodi-hosts.config.js file and method is set to POST.

+ +
+

Playback Control

+ +

GET /{action}?q={parameter}

+ +

Actions

+ +

Playback

+ + + +

Playback

+ + + +

Volume

+ + + +

Subtitles \ Audio

+ + +
+ +
+

Media Control

+ +

GET /{action}?q={parameter}&e={parameter2}&delay={delay}

+ +

*delay is an optional command

+ +

Actions

+ +

TV

+ + + +

Movies

+ + + +

Music

+ + + +

Files

+ + + +

Now Playing

+ + +
+ +
+

TV Control

+ +

GET /{action}?q={parameter}

+ +

Actions

+ +

PVR

+ + + +

TV

+ + +
+ +
+

Addon & Favorite Control

+ +

GET /executeaddon?q={addon_name}

+ +

GET /playyoutube?q={youtube_title}

+ +

GET /playfavourite?q={favourite_name}

+
+ +
+

System Control

+ +

GET /{action}?q={parameter}

+ +

Actions

+ +

Navigation

+ + + +

Power

+ + + +

Misc

+ + +
+ +
+

Multi-User Control

+ +

POST /{action}?q={parameter}

+ +

Headers

+ + + +

Body

+ + +
+ + +
+ +

 

From 99d66a314a0e3d02bcda6221ea2aa003834347ca Mon Sep 17 00:00:00 2001 From: NovaGL <16315601+NovaGL@users.noreply.github.com> Date: Sun, 7 Jul 2019 17:55:46 +1000 Subject: [PATCH 2/2] Create Kodi Commands UI --- views/commands.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/commands.html b/views/commands.html index 7adbbbc..5ca8360 100644 --- a/views/commands.html +++ b/views/commands.html @@ -216,8 +216,8 @@

Headers

Body