Page 33 of 94

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Tue Aug 07, 2012 5:07 pm
by KeithB
Windows Server 2008 R2 (64-bit)
Event Ghost 0.4.1.r1572
XBMC2 Plug-in
USB-UIRT Plug-in

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Tue Aug 07, 2012 5:13 pm
by jonib
KeithB wrote:Windows Server 2008 R2 (64-bit)
Event Ghost 0.4.1.r1572
XBMC2 Plug-in
USB-UIRT Plug-in
I meant your EventGhost config file (.xml). With all your EventGhost settings.

jonib

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Tue Aug 07, 2012 5:50 pm
by KeithB
Oh, sorry about that. The file is attached...

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Tue Aug 07, 2012 8:23 pm
by jonib
KeithB wrote:Is it normal for EG to shutdown/close itself when the Power button on the MCE remote is pressed?
OK, in folder Context folder\Keyboard emulation there is a macro Power -> Alt+F4. You need to disable/change/delete it.

Edit: You should disable the Keyboard emulation folder when ever you are controlling XBMC or other programs you are going to use the same buttons on.

It's a good idea to disable any macros you don't use.

jonib

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Wed Aug 08, 2012 12:08 am
by KeithB
jonib wrote:
KeithB wrote:Is it normal for EG to shutdown/close itself when the Power button on the MCE remote is pressed?
OK, in folder Context folder\Keyboard emulation there is a macro Power -> Alt+F4. You need to disable/change/delete it.

Edit: You should disable the Keyboard emulation folder when ever you are controlling XBMC or other programs you are going to use the same buttons on.

It's a good idea to disable any macros you don't use.

jonib
Thank you VERY MUCH!! :D

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Tue Aug 28, 2012 10:34 am
by blaher
I'm using version 0.6.3e, which as far as I can tell is the latest beta, and I just got the following error:

Error: JSON-RPC event (<type 'exceptions.KeyError'>, KeyError('item',), <traceback object at 0x04699058>)

Hope that helps. Restarting XBMC seems to fix it.

Cheers

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Tue Aug 28, 2012 3:13 pm
by jonib
blaher wrote:I'm using version 0.6.3e, which as far as I can tell is the latest beta, and I just got the following error:

Error: JSON-RPC event (<type 'exceptions.KeyError'>, KeyError('item',), <traceback object at 0x04699058>)

Hope that helps. Restarting XBMC seems to fix it.
Thanks for reporting. Unfortunately that error don't tell me anything. If you get this error again please activate "Log raw events from XBMC" in the XBMC2 plugin settings. Hopefully I will work on the plugin soon, then I will make the error a bit more useful.
What version of XBMC are you using and ware you doing anything specific when you got that error?

jonib

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Wed Aug 29, 2012 4:35 am
by blaher
jonib wrote:Thanks for reporting. Unfortunately that error don't tell me anything. If you get this error again please activate "Log raw events from XBMC" in the XBMC2 plugin settings. Hopefully I will work on the plugin soon, then I will make the error a bit more useful.
Cheers, I have done that now.
What version of XBMC are you using and ware you doing anything specific when you got that error?
I'm using Eden version 11.
XBMC 11.0 Git:20120321-14feb09 (Compiled: Mar 21 2012)

I was using my remote to navigate the menus after watching a video, judging by the logs. Next time I'll take a screenshot as well, if it happens.

Thanks a lot. :-)

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Tue Sep 04, 2012 7:45 pm
by spitz66
jonib wrote:
spitz66 wrote:Thanks for a great plugin! I've used it for a couple of years now and it works really well.
Thanks, and damn soon it's three years when I started to work on the plugin. :D
A question regarding the PVR actions added, did you add an action for "pause"? I don't know what action XBMC use in the OSD for Live TV to pause.
Sorry didn't see any pause related new action. I'll check if I can find other missing actions and hopefully get the PVR functionality to work to test. But don't know when.
Another maybe silly question is if there's an easy way to update your plugin so that I don't have to copy all my events to a new tree?
I'm for the moment using v0.6.3...
Just overwrite the plugin in Plugins\XBMCRepeat dir, and you will probably need to change the GUID in your EventGhost config, look here.

jonib
Any news regarding pause Live TV?

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Tue Sep 04, 2012 9:09 pm
by jonib
spitz66 wrote:Any news regarding pause Live TV?
I wasn't able to get XBMCPVR working with my MythTV back-end when I tested a while ago, so wasn't able to test what was needed.

But now I did some searching and think I found what command is needed.
Try this action: XBMC2\Experimental\HTTPAPI configure it to use Category: Miscellaneous commands and Command: ExecBuiltin and this: PlayerControl(Play)
XBMCPVRPlay.png
Or try pasting the below code in EventGhost:

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1572">
    <Action>
        XBMC2.HTTPAPI(u'ExecBuiltIn', u'PlayerControl(Play)', 4, True)
    </Action>
</EventGhost>
If this action works I can put it in the plugin.

jonib

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Wed Sep 05, 2012 7:21 pm
by spitz66
jonib wrote:
spitz66 wrote:Any news regarding pause Live TV?
I wasn't able to get XBMCPVR working with my MythTV back-end when I tested a while ago, so wasn't able to test what was needed.

But now I did some searching and think I found what command is needed.
Try this action: XBMC2\Experimental\HTTPAPI configure it to use Category: Miscellaneous commands and Command: ExecBuiltin and this: PlayerControl(Play)
XBMCPVRPlay.png
Or try pasting the below code in EventGhost:

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1572">
    <Action>
        XBMC2.HTTPAPI(u'ExecBuiltIn', u'PlayerControl(Play)', 4, True)
    </Action>
</EventGhost>
If this action works I can put it in the plugin.

jonib
Thanks for your effort, however I don't succeed in creating those actions.

The first method results in:
Image

The second method results in:
Image

I don't know if I do it the wrong way or if I need your "test version" or something else...

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Thu Sep 06, 2012 1:53 am
by blaher
spitz66 wrote: I don't know if I do it the wrong way or if I need your "test version" or something else...
If you do, the latest version I can see in this thread is here: viewtopic.php?f=9&t=1562&start=405#p21771 with some instructions here: viewtopic.php?f=9&t=1562&start=390#p21652

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Thu Sep 06, 2012 1:57 am
by jonib
spitz66 wrote:The second method results in:
Image

I don't know if I do it the wrong way or if I need your "test version" or something else...
Hmm, that shouldn't say Python script. Would you mind attaching your EventGhost config with both commands? and what version of the plugin are you using?

I don't remember changing anything related in the new test versions but you could try this test version. Just keep a backup of your current plugin and EventGhost config just in case.

jonib

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Thu Sep 06, 2012 6:04 pm
by spitz66
jonib wrote:
spitz66 wrote:The second method results in:
Image

I don't know if I do it the wrong way or if I need your "test version" or something else...
Hmm, that shouldn't say Python script. Would you mind attaching your EventGhost config with both commands? and what version of the plugin are you using?

I don't remember changing anything related in the new test versions but you could try this test version. Just keep a backup of your current plugin and EventGhost config just in case.

jonib
Sorry, my bad!
Made a misstake with second method (didn't add as action in config XML).

Still doesn't work though.
Both methods result in the same error now.

Seems like it try to establish connection on port 80 and my XBMC listens on port 9514 for HTTP.
Tried to edit the "__init__.py" file and change to port 9514 but with no luck.

I'm using the test build you linked to now.
Attaching my config file as well.

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Fri Sep 07, 2012 1:48 am
by jonib
spitz66 wrote:Seems like it try to establish connection on port 80 and my XBMC listens on port 9514 for HTTP.
Tried to edit the "__init__.py" file and change to port 9514 but with no luck.
Your config worked for me so you added the actions correctly. I had to change the port by doubleclicking on the XBMC2 entry in the Autostart folder and changed from 80 to my port. Hopefully thats your problem.

jonib