diff --git a/Notify_kodi.md b/Notify_kodi.md new file mode 100644 index 0000000..3d24de5 --- /dev/null +++ b/Notify_kodi.md @@ -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 +```