#!/bin/bash | |
[ -z "$1" ] && echo "Pass a Kodi IP" && exit 1 | |
curl -sS -H 'Content-Type: application/json' --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Player.Stop", "params": { "playerid": 2 } }' "http://$1/jsonrpc" -o /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment