2013-01-08, 02:50
Hey guys,
This might be an obvious answer but somehow I am missing something. I am trying to use the Addon.ExecuteAddon to pass some params to the PleXBMC addon. I am using the following JSON:
and I get the following response:
and in XBMC it goes into the menu which is not what I expected. I am trying to get the addon to launch the movie.... I check the log (I have it in debug mode) and find the following:
I've tried many different variations of the JSON but all seem to result in the same thing... Am I passing in the parameters wrong?
Thanks
This might be an obvious answer but somehow I am missing something. I am trying to use the Addon.ExecuteAddon to pass some params to the PleXBMC addon. I am using the following JSON:
PHP Code:
{"jsonrpc": "2.0","method": "Addons.ExecuteAddon","params": {"wait": false,"addonid": "plugin.video.plexbmc","params": ["?url=http://192.168.1.100:32400/library/metadata/1&mode=5&id=1"]},"id": 2}
and I get the following response:
PHP Code:
{"id":2,"jsonrpc":"2.0","result":"OK"}
and in XBMC it goes into the menu which is not what I expected. I am trying to get the addon to launch the movie.... I check the log (I have it in debug mode) and find the following:
PHP Code:
19:41:30 T:4646768640 NOTICE: == ENTER: get_params ==
19:41:30 T:4646768640 NOTICE: PleXBMC -> get_params: Parameter string:
19:41:30 T:4646768640 NOTICE: PleXBMC -> get_params: Returning: []
19:41:30 T:4646768640 NOTICE: PleXBMC -> []
19:41:30 T:4646768640 NOTICE: PleXBMC -> Mode: None
19:41:30 T:4646768640 NOTICE: PleXBMC -> URL: None
19:41:30 T:4646768640 NOTICE: PleXBMC -> Name: None
19:41:30 T:4646768640 NOTICE: PleXBMC -> ID: None
I've tried many different variations of the JSON but all seem to result in the same thing... Am I passing in the parameters wrong?
Thanks