Created
April 7, 2012 16:50
-
-
Save th0ma5w/2330333 to your computer and use it in GitHub Desktop.
Play YouTube on LAN XBMC Eden
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 | |
curl -d "{\"jsonrpc\": \"2.0\", \"method\": \"Player.Open\", \"params\":{\"item\": { \"file\" : \"plugin://plugin.video.youtube/?action=play_video&videoid=$@\" }}, \"id\" : 1}" http://xbmc:xbmc@192.168.1.10:8080/jsonrpc | |
# curl and everything after it should be on one line. change the port and host to your | |
# liking and your username and password if you've changed it from the default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment