2015-05-04, 08:13
Hi all,
Apologies for the no doubt stupid question, but I'm hoping someone can tell me what I'm doing wrong here. For now I'm just sending the following url through my browser in an attempt to play the specified youtube video in the youtube plugin. I have grander plans if I can actually get this to work :
This gives me {"error":{"code":-32700,"message":"Parse error."},"id":null,"jsonrpc":"2.0"}
I've been googling around and trying various things for the past hour or so but I think it's time to ask the experts as I'm likely missing something stupid. For reference, I'm able to pause/resume with, so the commands are getting through at least.
Any help appreciated, thanks!!!
Apologies for the no doubt stupid question, but I'm hoping someone can tell me what I'm doing wrong here. For now I'm just sending the following url through my browser in an attempt to play the specified youtube video in the youtube plugin. I have grander plans if I can actually get this to work :
Code:
http://192.168.1.23:3142/jsonrpc?request={"jsonrpc":"2.0","method":"Player.Open","params":{"item":{"file":"plugin://plugin.video.youtube/?action=play_video&videoid='ngElkyQ6Rhs'"}},"id":1}
I've been googling around and trying various things for the past hour or so but I think it's time to ask the experts as I'm likely missing something stupid. For reference, I'm able to pause/resume with
Code:
http://192.168.1.23:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Player.PlayPause","params":{"playerid":1},"id":1}
Any help appreciated, thanks!!!