Page 66 of 94
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Thu Sep 04, 2014 6:11 pm
by jonib
So finally had a chance to look into this.
Are you using the latest version of the XBMC2 plugin (0.6.14 included in last EventGhost)?
simonturk wrote:When using XBMC2 commands i.e. Open Window: Movies no control is passed to XBMC.
What command is this? I can't find it anywhere in the plugin. Are you even talking about a JSON-RPC command here or is it a command from the "Actions" folder?
I found that if i manually send the command using your experimental action "Send Any JSON" I can get it to work.
So JSON-RPC commands work.
jonib
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Sat Sep 06, 2014 7:57 pm
by Aback
Why can't I execute JSON and HTTPAPI commands in eventghost. I always get this error for JSON
Traceback (most recent call last) (1669):
File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 59, in ProcessingTask
self.Configure(*args, **kwargs) ...
and this for HTTPAPI:
Error in Action: "XBMC2: HTTPAPI: GetCurrentPlaylist"
Traceback (most recent call last) (1669):
File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionBase.py", line 170, in CallWrapper
return self(*args)
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Sat Sep 06, 2014 9:34 pm
by jonib
What XBMC are you using?
Aback wrote:Why can't I execute JSON and HTTPAPI commands in eventghost. I always get this error for JSON
Traceback (most recent call last) (1669):
File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 59, in ProcessingTask
self.Configure(*args, **kwargs) ...
Is this the complete error message, as it seems to be missing information. So I have no idea what might cause it.
and this for HTTPAPI:
Error in Action: "XBMC2: HTTPAPI: GetCurrentPlaylist"
Traceback (most recent call last) (1669):
File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionBase.py", line 170, in CallWrapper
return self(*args)
HTTPAPI is not supported in the last few versions of XBMC. And this error message seems incomplete too.
When posting errors from EventGhosts log it might be better to take a screenshot of the error (having resized the window so the full error is visible).
jonib
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Sun Sep 07, 2014 10:06 am
by Aback
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Sun Sep 07, 2014 10:47 am
by jonib
Aback wrote:Here is the screenshot of errors.
Much better, now I see where the problem is, but not what.
I need to know what the parameter is in the JSON-RPC action thats cousing the problem.
You can attach screenshots directly in the posts here.
jonib
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Sun Sep 07, 2014 10:59 am
by Aback
jonib wrote:Aback wrote:Here is the screenshot of errors.
Much better, now I see where the problem is, but not what.
I need to know what the parameter is in the JSON-RPC action thats cousing the problem.
You can attach screenshots directly in the posts here.
jonib
I did following: Namespace: Favourites Method: GetFavourites. When I hit Test i get errors from above. No matter what I select as napespace and method I always get the same errors.
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Sun Sep 07, 2014 11:17 am
by jonib
Aback wrote:I did following: Namespace: Favourites Method: GetFavourites. When I hit Test i get errors from above. No matter what I select as napespace and method I always get the same errors.
Put
or
In the parameter field. Looks like I forgot about this problem.
jonib
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Sun Sep 07, 2014 11:28 am
by Aback
jonib wrote:Aback wrote:I did following: Namespace: Favourites Method: GetFavourites. When I hit Test i get errors from above. No matter what I select as napespace and method I always get the same errors.
Put
or
In the parameter field. Looks like I forgot about this problem.
jonib
It works now, with [] in parameter field. Thanks

.
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Wed Oct 01, 2014 3:03 pm
by BinaryTB
Hello,
I searched, but didn't find it in the thread. Would it be possible to add the new Gotham Action IDs into the latest version of this plugin? Specifically "ChapterOrBigStepForward" and "ChapterOrBigStepBack" as listed here:
http://wiki.xbmc.org/index.php?title=Action_IDs
I think Frodo operated differently with Chapters and Big Steps and this new Gotham action replicates that behavior so I'm just trying to get it back to the way I was used to. Thanks for the great plugin by the way.
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Thu Oct 02, 2014 4:20 am
by jonib
BinaryTB wrote:I searched, but didn't find it in the thread. Would it be possible to add the new Gotham Action IDs into the latest version of this plugin? Specifically "ChapterOrBigStepForward" and "ChapterOrBigStepBack"
There are many actions missing as I haven't updated the action list in a while. And just to be a jerk

I won't add these.
But I am adding a button so any missing actions can be added from XBMCs(Kodis) website. And later when I feel like it I'll add any of the actions to proper categories.
I think Frodo operated differently with Chapters and Big Steps and this new Gotham action replicates that behavior so I'm just trying to get it back to the way I was used to. Thanks for the great plugin by the way.
Are you using a remote to control XBMC? if so are you using the actions under
XBMC2\Buttons\Remote? In that case you can edit the XBMC
keymap to get it they way you like.
jonib
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Thu Oct 02, 2014 5:42 am
by jonib
I'm posting a new test version 0.6.16.
I have added a "Update actions" button in the XBMC2 settings, it will (as long as the XBMC site is not changed) check if there are any new actions in XBMCs code and adds them in a new category "Manually updated".
With this you wont need to edit the plugin manually with new actions or wait for me to do it.
At some point I might move some actions to better category's, but my development speed has been so slow so I don't have any idea when I might feel motivated enough.
Thanks to BinaryTB I just got a injection of motivation so I made this update.
Hopefully someday I will do a proper update and just not these "test" updates, if you live long enough you might experience it.
jonib
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Fri Oct 03, 2014 11:55 pm
by BinaryTB
jonib wrote:Thanks to BinaryTB I just got a injection of motivation so I made this update.
You are the best my friend.
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Tue Oct 14, 2014 3:19 am
Running
XBMC2 0.6.16
XBMC 13.2
I added a JSONRPC command, namespace addons method executeaddon and enter
['script.audio.pandora']
and click test
all I get is this
http://imgur.com/2zNKKn7
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Tue Oct 14, 2014 9:06 am
by jonib
[email protected] wrote:I added a JSONRPC command, namespace addons method executeaddon and enter
['script.audio.pandora']
Try this (With double quotes)
JSON only supports double quotes for strings. I'll make the plugin handle these kind of errors at some point.
jonib
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Sat Nov 01, 2014 12:40 am
by Derbyboy
Hi,
Why do I not have any options here: