[Documentation] Markdown improvements f to m (#13866)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
This commit is contained in:
committed by
GitHub
parent
3c236b3103
commit
0e68936663
@@ -13,13 +13,13 @@ The Kodi binding is the successor to the openHAB 1.x xbmc binding.
|
||||
In order to allow Kodi to be controlled through this binding, you need to enable the Kodi application remote control feature.
|
||||
Please enable "Allow remote control from applications on this/other systems" in the Kodi settings menu under:
|
||||
|
||||
* Settings ➔ Services ➔ Control ➔
|
||||
* Allow remote control from applications on **this** systems
|
||||
* Allow remote control from applications on **other** systems
|
||||
- Settings ➔ Services ➔ Control ➔
|
||||
- Allow remote control from applications on **this** systems
|
||||
- Allow remote control from applications on **other** systems
|
||||
|
||||
To make use of the auto-discovery feature, you additionally need to enable "Allow control of Kodi via UPnP" in the Kodi settings menu.
|
||||
|
||||
* Settings ➔ Services ➔ UPnP / DLNA ➔ Allow remote control via UPnP
|
||||
- Settings ➔ Services ➔ UPnP / DLNA ➔ Allow remote control via UPnP
|
||||
|
||||
## Supported Things
|
||||
|
||||
@@ -34,7 +34,7 @@ The binding supports auto-discovery for available and prepared (see above) insta
|
||||
Auto-discovery is enabled by default.
|
||||
To disable it, you can add the following line to `<openHAB-conf>/services/runtime.cfg`:
|
||||
|
||||
```
|
||||
```text
|
||||
discovery.kodi:background=false
|
||||
```
|
||||
|
||||
@@ -55,7 +55,7 @@ You can use the `notificationVolume` property for setting a default volume (in %
|
||||
|
||||
A manual setup through a `things/kodi.things` file could look like this:
|
||||
|
||||
```
|
||||
```java
|
||||
Thing kodi:kodi:myKodi "Kodi" @ "Living Room" [ipAddress="192.168.1.100", port=9090, httpPort=8080]
|
||||
```
|
||||
|
||||
@@ -83,7 +83,7 @@ The Kodi thing supports the following channels:
|
||||
| input | String | Sends a key stroke to Kodi to navigate in the UI. Valid commands are: `Back`, `ContextMenu`, `Down`, `Home`, `Info`, `Left`, `Right`, `Select`, `ShowCodec`, `ShowOSD`, `ShowPlayerProcessInfo` and `Up`. `ExecuteAction` and `SendText` should be used with the dedicated channels `inputaction` and `inputtext`. |
|
||||
| inputtext | String | Sends a generic input (unicode) text to Kodi. |
|
||||
| inputaction | String | Sends a predefined action to Kodi to control the UI and/or perform other tasks. Valid commands are: `left`, `right`, `up`, `down`, `pageup`, `pagedown`, `select`, `highlight`, `parentdir`, `parentfolder`, `back`, `menu`, `previousmenu`, `info`, `pause`, `stop`, `skipnext`, `skipprevious`, `fullscreen`, `aspectratio`, `stepforward`, `stepback`, `bigstepforward`, `bigstepback`, `chapterorbigstepforward`, `chapterorbigstepback`, `osd`, `showsubtitles`, `nextsubtitle`, `cyclesubtitle`, `playerdebug`, `codecinfo`, `playerprocessinfo`, `nextpicture`, `previouspicture`, `zoomout`, `zoomin`, `playlist`, `queue`, `zoomnormal`, `zoomlevel1`, `zoomlevel2`, `zoomlevel3`, `zoomlevel4`, `zoomlevel5`, `zoomlevel6`, `zoomlevel7`, `zoomlevel8`, `zoomlevel9`, `nextcalibration`, `resetcalibration`, `analogmove`, `analogmovex`, `analogmovey`, `rotate`, `rotateccw`, `close`, `subtitledelayminus`, `subtitledelay`, `subtitledelayplus`, `audiodelayminus`, `audiodelay`, `audiodelayplus`, `subtitleshiftup`, `subtitleshiftdown`, `subtitlealign`, `audionextlanguage`, `verticalshiftup`, `verticalshiftdown`, `nextresolution`, `audiotoggledigital`, `number0`, `number1`, `number2`, `number3`, `number4`, `number5`, `number6`, `number7`, `number8`, `number9`, `smallstepback`, `fastforward`, `rewind`, `play`, `playpause`, `switchplayer`, `delete`, `copy`, `move`, `screenshot`, `rename`, `togglewatched`, `scanitem`, `reloadkeymaps`, `volumeup`, `volumedown`, `mute`, `backspace`, `scrollup`, `scrolldown`, `analogfastforward`, `analogrewind`, `moveitemup`, `moveitemdown`, `contextmenu`, `shift`, `symbols`, `cursorleft`, `cursorright`, `showtime`, `analogseekforward`, `analogseekback`, `showpreset`, `nextpreset`, `previouspreset`, `lockpreset`, `randompreset`, `increasevisrating`, `decreasevisrating`, `showvideomenu`, `enter`, `increaserating`, `decreaserating`, `setrating`, `togglefullscreen`, `nextscene`, `previousscene`, `nextletter`, `prevletter`, `jumpsms2`, `jumpsms3`, `jumpsms4`, `jumpsms5`, `jumpsms6`, `jumpsms7`, `jumpsms8`, `jumpsms9`, `filter`, `filterclear`, `filtersms2`, `filtersms3`, `filtersms4`, `filtersms5`, `filtersms6`, `filtersms7`, `filtersms8`, `filtersms9`, `firstpage`, `lastpage`, `guiprofile`, `red`, `green`, `yellow`, `blue`, `increasepar`, `decreasepar`, `volampup`, `volampdown`, `volumeamplification`, `createbookmark`, `createepisodebookmark`, `settingsreset`, `settingslevelchange`, `stereomode`, `nextstereomode`, `previousstereomode`, `togglestereomode`, `stereomodetomono`, `channelup`, `channeldown`, `previouschannelgroup`, `nextchannelgroup`, `playpvr`, `playpvrtv`, `playpvrradio`, `record`, `togglecommskip`, `showtimerrule`, `leftclick`, `rightclick`, `middleclick`, `doubleclick`, `longclick`, `wheelup`, `wheeldown`, `mousedrag`, `mousemove`, `tap`, `longpress`, `pangesture`, `zoomgesture`, `rotategesture`, `swipeleft`, `swiperight`, `swipeup`, `swipedown`, `error`, `noop`. |
|
||||
| inputbuttonevent | String | Send a button press event. The parameter can have the format "`<button>`", "`<button>;<keymap>`" or "`<button>;<keymap>;<holdtime>`". For details see https://kodi.wiki/view/JSON-RPC_API/v12#Input.ButtonEvent |
|
||||
| inputbuttonevent | String | Send a button press event. The parameter can have the format "`<button>`", "`<button>;<keymap>`" or "`<button>;<keymap>;<holdtime>`". For details see <https://kodi.wiki/view/JSON-RPC_API/v12#Input.ButtonEvent> |
|
||||
| inputrequested | Switch | Indicates whether Kodi is currently asking the user for input |
|
||||
| screensaver | Switch | Current state of the Screensaver |
|
||||
| systemcommand | String | This channel allows to send system commands to `Shutdown`, `Suspend`, `Hibernate`, `Reboot` or `Quit` Kodi (channel's state options contains available system commands) |
|
||||
@@ -105,12 +105,12 @@ The Kodi thing supports the following channels:
|
||||
| subtitle-enabled | Switch | Display/hidden subtitle |
|
||||
| subtitle-index | Number | Set or get subtitle index of currently playing media |
|
||||
| subtitle-language | String | Display subtitle language of currently playing media |
|
||||
| subtitle-name | String | Display subtitle title of currently playing media |
|
||||
| subtitle-name | String | Display subtitle title of currently playing media |
|
||||
| audio-index | Number | Audio stream index of currently playing media |
|
||||
| audio-codec | String | Audio codec of currently playing media **(Advanced)** |
|
||||
| audio-language | String | Display language of currently playing audio stream **(Advanced)** |
|
||||
| audio-name | String | Display title of currently playing audio stream **(Advanced)** |
|
||||
| audio-channels | Number | Display channels of currently playing audio stream **(Advanced)** |
|
||||
| audio-name | String | Display title of currently playing audio stream **(Advanced)** |
|
||||
| audio-channels | Number | Display channels of currently playing audio stream **(Advanced)** |
|
||||
| video-codec | String | Video codec of currently playing media **(Advanced)** |
|
||||
| video-index | Number | Index of currently playing multi stream video **(Advanced)** |
|
||||
| video-height | Number | Height of currently playing video **(Advanced)** |
|
||||
@@ -125,7 +125,6 @@ The Kodi thing supports the following channels:
|
||||
|
||||
Kodi things are extensible by channels of type `shownotification`, so that different notification pop-ups can be configured for different use cases.
|
||||
|
||||
|
||||
### Channel Configuration
|
||||
|
||||
**group** The PVR channels can be put into user-defined PVR channel groups.
|
||||
|
||||
Reference in New Issue
Block a user