Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Support for XBMC2 plugin (formerly XBMCRepeat)

Questions and comments specific to a particular plugin should go here.
blaher
Experienced User
Posts: 487
Joined: Thu Nov 17, 2011 1:27 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by blaher »

jonib wrote:As far as I know there is no discreet pause just a pause/play toggle. You should post in the XBMC forum.

I made a script to simulate a discreet pause for a user here. Maybe it works for you.

jonib
Thanks very much, I changed XBMC to XBMC2 in your script and it works perfectly.

Cheers. :)
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by jonib »

blaher wrote:Thanks very much, I changed XBMC to XBMC2 in your script and it works perfectly.
Glad it worked for you. It's interesting there are tree commands in XBMC Play,Pause and PlayPause, and as far as I see they work the same (while playing a media file).

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
bxr
Posts: 15
Joined: Sat Jul 21, 2012 2:56 am

Mapping remote buttons

Post by bxr »

I haven't found howto's for the generated items when installing the plugin.
If you map one button (mce remote, an event), lets say an arrow key, to multiple items such as in general, media playing, full screen video, will it select automatically one of them depending on the window/action you're in XBMC?
Do I need to configure the remote keymap as well?
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Mapping remote buttons

Post by jonib »

bxr wrote:I haven't found howto's for the generated items when installing the plugin.
Unfortunately all documentation (or lack of) is provided in the first post here, and the rest of this thread.
The most important part:
The idea is to use buttons from the "Remote" or "Gamepad" folders to get the same functionality that is on the XBMC on the XBOX when using a remote or a gamepad, as "Remote" and "Gamepad" buttons are defined in XBMCs "Keymap.xml" and thus are context sensitive and then to complement any missing functions from the different action groups that are not context sensitive.
bxr wrote:If you map one button (mce remote, an event), lets say an arrow key, to multiple items such as in general, media playing, full screen video, will it select automatically one of them depending on the window/action you're in XBMC?
You should NOT map more than one action (that are active) from the XBMC2 plugin to a remote button. And you shouldn't have to as long as you map most buttons to actions from the Buttons\Remote folder.
Do I need to configure the remote keymap as well?
Only if you want to change the default functionality. And only the actions from the Buttons folders are effected by the XBMC keymaps.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
User avatar
Livin
Experienced User
Posts: 792
Joined: Wed Oct 08, 2008 4:56 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by Livin »

Jonib - the plugin was failing to load when using the newest EG build (1572). Restoring my backup fixed the issue...

in my XML:
<Plugin Identifier="XBMC2" Guid="{8C8B850C-773F-4583-AAD9-A568262B7933}" File="XBMCrepeat">
gAJYCQAAADEyNy4wLjAuMXEAWAQAAAA4MDgwcQF9cQIoVQlCcm9hZGNhc3RxA31xBChVBkVuYWJsZXEFiVUEUG9ydHEGTVYgVQpXb3JrYXJvdW5kcQeJdVUMTG9nUmF3RXZlbnRzcQiJVQdKU09OUlBDcQl9cQooVQlSZXRyeVRpbWVxC0sFaAZNgiNVBlJldHJ5c3EMSwV1dYdxDS4=
</Plugin>
EG log error:
2012-07-28 11:35:28 Plugin: XBMC2
2012-07-28 11:35:28 Error starting plugin: XBMC2
2012-07-28 11:35:28 Traceback (most recent call last) (1572):
2012-07-28 11:35:28 File "C:\Users\ha\Documents\EventGhost\eg\Classes\PluginInstanceInfo.py", line 177, in Start
2012-07-28 11:35:28 self.instance.__start__(*self.args)
2012-07-28 11:35:28 TypeError: __start__() takes at most 3 arguments (4 given)
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by jonib »

Livin wrote:Jonib - the plugin was failing to load when using the newest EG build (1572). Restoring my backup fixed the issue...
Thanks, I'll look into it right away.

Edit: Were you using my latest Test version? and did you put the Test version back when you updated EventGhost? as the old version included with EventGhost won't recognize the new event settings.

jonib
Last edited by jonib on Sun Jul 29, 2012 12:25 am, edited 2 times in total.
XBMC2 plugin to control XBMC. If you want to flatter me Image
User avatar
Livin
Experienced User
Posts: 792
Joined: Wed Oct 08, 2008 4:56 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by Livin »

yup, using test version
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by jonib »

Livin wrote:yup, using test version
What about this part:
and did you put the Test version back when you updated EventGhost? as the old version included with EventGhost won't recognize the new event settings.
jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
User avatar
Livin
Experienced User
Posts: 792
Joined: Wed Oct 08, 2008 4:56 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by Livin »

test version the whole time... I don't need to use the latest EG, I'm just having random EG crashing and though it might help.
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by jonib »

Livin wrote:test version the whole time... I don't need to use the latest EG, I'm just having random EG crashing and though it might help.
Are you sure you put back the Test version after updating EventGhost, I had the exact error you posted, before I put back the Test version, I even tested to download the last test version I posted in case I had changed something.

There don't seem to be any difference with the new EventGhost that effects the XBMC2 plugin. So please try again.

I think I'm finally settling in to my new place and should be able to do a proper release next week.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
User avatar
Livin
Experienced User
Posts: 792
Joined: Wed Oct 08, 2008 4:56 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by Livin »

I'm sure, the PY says version .0.6.3e ... and I know the EG install did not overwrite what I had since my plugin folder is "XBMCRepeat" and not XBMC2

I've tried to change the folder name to XBMC2 (including changing the XML) but that just made the plugin fail to load at all saying name not found.

strange!
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by jonib »

Livin wrote:I'm sure, the PY says version .0.6.3e ... and I know the EG install did not overwrite what I had since my plugin folder is "XBMCRepeat" and not XBMC2
EventGhost will overwrite the plugin, so you will need to put back the test version or you will have the wrong version. The test version has the same version no as the one in EventGhost.
I've tried to change the folder name to XBMC2 (including changing the XML) but that just made the plugin fail to load at all saying name not found.

strange!
The plugin is supposed to be in the XBMCRepeat directory i kept it so people wouldn't need to redo their config when I renamed the plugin to XBMC2.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
User avatar
Livin
Experienced User
Posts: 792
Joined: Wed Oct 08, 2008 4:56 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by Livin »

gotcha... when you put out the next release I'll update, but for now it is working using the last EG version so no worries :)
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
KeithB
Posts: 4
Joined: Mon Aug 06, 2012 10:56 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by KeithB »

New EG and XBMC plug-in user here. :roll:

Is it normal for EG to shutdown/close itself when the Power button on the MCE remote is pressed? I was expecting to see the button/event registered so I could configure actions for it. :(
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by jonib »

KeithB wrote:Is it normal for EG to shutdown/close itself when the Power button on the MCE remote is pressed? I was expecting to see the button/event registered so I could configure actions for it. :(
Yes, you should get an event that you can assign. But either you have a macro in EventGhost that reacts to the event and closes EventGhost or there is an external program/service still in control that does that.

Post your EventGhost config and/or check what's in the log when you press the power button, possibly using this plugin Log redirector that can save the log to a file.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
Post Reply