Created
November 22, 2015 10:42
-
-
Save craig-m/e3013aaba294ceea84c0 to your computer and use it in GitHub Desktop.
Kodi notification
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -v | |
VAR="some notification" | |
curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"GUI.ShowNotification","params":{"title":"Title","message":"'$VAR'"},"id":1}' http://10.1.1.5:80/jsonrpc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment