Page 32 of 94

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Wed Jul 25, 2012 3:00 am
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. :)

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Wed Jul 25, 2012 3:18 am
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

Mapping remote buttons

Posted: Wed Jul 25, 2012 3:36 am
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?

Re: Mapping remote buttons

Posted: Thu Jul 26, 2012 5:48 am
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

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Sat Jul 28, 2012 6:38 pm
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)

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Sat Jul 28, 2012 11:36 pm
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

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Sun Jul 29, 2012 12:03 am
by Livin
yup, using test version

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Sun Jul 29, 2012 12:15 am
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

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Sun Jul 29, 2012 12:43 am
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.

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Sun Jul 29, 2012 1:06 am
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

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Sun Jul 29, 2012 5:32 am
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!

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Sun Jul 29, 2012 6:34 am
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

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Sun Jul 29, 2012 3:11 pm
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 :)

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Mon Aug 06, 2012 10:59 pm
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. :(

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Tue Aug 07, 2012 7:50 am
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