#!/opt/bin/bash echo Content-type: text/html echo "" /bin/cat << EOM Start Sky Christmas

EOM

USERNAME=xbmc
PASSWORD=xbmc
SERVER=192.168.1.12
PORT=80

echo "sending update request to $SERVER"

curl -i -X POST -H "Content-Type: application/json" -d '{"method":"Player.Open","id":44,"jsonrpc":"2.0","params":{"item":{"file":"http://www.skyradio.nl/player/skyradio-christmas.pls"}}}' http://${SERVER}:${PORT}/jsonrpc

/bin/cat << EOM

EOM