Created Notify_kodi (markdown)

master
lead2gold 2017-11-29 20:22:52 -05:00
parent 6ac19115df
commit a986ad4cf2
1 changed files with 27 additions and 0 deletions

27
Notify_kodi.md Normal file

@ -0,0 +1,27 @@
## KODI Notifications
* **Source**: http://kodi.tv/
* **Icon Support**: No
* **Message Format**: Text
* **Message Limit**: 250 Characters per message
### Syntax
Valid syntaxes are as follows:
* **kodi**:://**{hostname}**
* **kodi**:://**{hostname}**:**{port}**
* **kodis**:://**{hostname}**
* **kodis**:://**{hostname}**:**{port}**
Secure connections (via https) should be referenced using **kodis://** where as insecure connections (via http) should be referenced via **kodi://**.
### Parameter Breakdown
| Variable | Required | Description
| ----------- | -------- | -----------
| hostname | Yes | The server Kodi is listening on.
| port | No | The port Kodi is listening on. By default the port is **80** for **kodi://** and **443** for all **kodis://** references.
#### Example
Send a Kodi notification to our server listening on port 80:
```bash
# Assuming our {hostname} is kodi.server.local
notify.py kodi://kodi.server.local
```