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.
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:I get a similar error with Frodo, along with a file not found error.
I haven't tested it in Frodo yet but the "File not found" is probably because Frodo don't support the HTTPAPI anymore.

The latest test version here, would give a better error message and also supports some of the new JSON event types. But it might have a new (old) infinite loop bug.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
blaher
Experienced User
Posts: 487
Joined: Thu Nov 17, 2011 1:27 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by blaher »

Cheers, it now gives a 'JSON unrecogniced event type:' error message, and it continues to listen for json events.

I'm using frodo & eden concurrently. You can install them to different directories and keep the same sources and settings. So far the former seems quite good.
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 »

User1306 wrote:I was wondering if you can play XBMC "Smart Playlist" with one button/click? let say i have AmericanDad.xsp, how can i Play this playlist with a trigger from eventghost.
Apologies if this question is silly or have been answered before but i cant seem to figure it out.
Try this:
XBMC2\Experimental\JSONRPC action with Namespace: Player, Method: Open then add this: {"item":{"file":"special://profile/playlists/video/Penguins.xsp"}} (change name of the playlist).
XBMCOpenPlaylist.png
If you are using Frodo (XBMC12) then you will need to use one of the last test versions of the plugin.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
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 »

Luca Brasi wrote:
As far as I know there are no events for window changes and I have not seen any plans to add them.
Oh no, this is not so good for me. I wanted to control my home server dependent on where I am in xbmc. I've set this up for mediaportal and it is working quite well.
If you want new events I guess the best is to ask in the XBMC JSON forum thread here.
Will xbmc report back the window when you call it via
http://wiki.xbmc.org/index.php?title=JS ... vateWindow
?
Don't look like it, it just sends an "OK".

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
User avatar
Luca Brasi
Experienced User
Posts: 262
Joined: Sat Oct 11, 2008 12:39 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by Luca Brasi »

Thanks jonib, I asked over there. We'll see...
Win10 x64 Prof. / Eventghost latest / MCE Plugin / MCE RC6 Receiver / Logitech Harmony Hub / MediaPortal / kodi
User1306
Experienced User
Posts: 53
Joined: Sat Oct 13, 2012 4:37 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by User1306 »

@Jonib

Thank you very much, it works perfectly :)
nonob
Experienced User
Posts: 76
Joined: Tue Dec 06, 2011 6:52 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by nonob »

I already use a remote key to toggle xbmc fullscreen and i can do that with my keyboard too, but how can i do that with my mouse, for instance by long press on a bouton or something like that ?

Thanks
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 »

nonob wrote:I already use a remote key to toggle xbmc fullscreen and i can do that with my keyboard too, but how can i do that with my mouse, for instance by long press on a bouton or something like that ?
This isn't really a XBMC specific question. I haven't done anything mouse related with XBMC or EventGhost but I assume you'll need to use this MouseEvent plugin.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
nonob
Experienced User
Posts: 76
Joined: Tue Dec 06, 2011 6:52 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by nonob »

Hi,

I think it is what i'm searching.
I did only searched on defaut plugins.

Thanks :)
RBS_Vader
Posts: 3
Joined: Sat Dec 15, 2012 3:37 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by RBS_Vader »

Can anyone provide some help? Installed latest XBMC (Frodo RC1) and XBMC2 plugin (with JSON fix). But XBMC refuses to react on any command from Cyberlink remote. Keyboard emulation mode works, but XBMC2 seems way better...at least, in theory. All needed options in XBMC are enabled, of course. Firewall checked also. I attached screenshot.

Anything wrong with my setup?
Attachments
screenshot
screenshot
nonob
Experienced User
Posts: 76
Joined: Tue Dec 06, 2011 6:52 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by nonob »

nonob wrote:I already use a remote key to toggle xbmc fullscreen and i can do that with my keyboard too, but how can i do that with my mouse, for instance by long press on a bouton or something like that ?

This isn't really a XBMC specific question. I haven't done anything mouse related with XBMC or EventGhost but I assume you'll need to use this MouseEvent plugin.

jonib
I found easier :
Create a xml file in userdata\keymap with this :

<keymap>
<global>
<mouse>
<doubleclick>ToggleFullScreen</doubleclick>
</mouse>
</global>
</keymap>

So i can doubleclick with my mouse to toggle xbmc full screen.

cu
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 »

RBS_Vader wrote:Can anyone provide some help? Installed latest XBMC (Frodo RC1) and XBMC2 plugin (with JSON fix). But XBMC refuses to react on any command from Cyberlink remote. Keyboard emulation mode works, but XBMC2 seems way better...at least, in theory. All needed options in XBMC are enabled, of course. Firewall checked also. I attached screenshot.

Anything wrong with my setup?
It works fine for me with RC1 and latest EventGhost, so it has to be your setup (I think :mrgreen: )

You need to check that the IP matches between the XBMC2 plugin (Rightclick and choose configure Item in the Autostart folder) and XBMC (Settings\Network\Remote control) needs "Allow programs on this system to control XBMC"

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
RBS_Vader
Posts: 3
Joined: Sat Dec 15, 2012 3:37 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by RBS_Vader »

I checked everything. But no luck at all. Will wait till next XBMC2 release.
Attachments
Untitled.png
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 »

RBS_Vader wrote:I checked everything. But no luck at all. Will wait till next XBMC2 release.
Hmm, I moved my XBMC settings dir, so XBMC created a new config and I didn't have to do anything in XBMC for it to work. So only thing needed should be to have the correct IP in XBMC2, and if you run both XBMC and EventGhost on the same computer the default IP should work. :cry:

Only things I can think of:
Did you check this (Settings\Services\Remote control) needs "Allow programs on this system to control XBMC" to be checked, you didn't mention it.
Try putting your actual IP in the XBMC2 config.

Other then that maybe something is conflicting with the port 9777 that XBMC2 is using to send the commands (The port setting in XBMC2s config is for HTTPAPI only)

I don't think the next release is going to help, as I'm not planning any changes in how the actions are sent to XBMC, as they seem to work correctly. But I'll see if I can improve detecting connection problems.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
isaksson
Posts: 3
Joined: Fri Dec 21, 2012 9:39 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by isaksson »

Hello.
Thanks for a great work with the plugin.

What iam looking for is a way for eventghost to get a signal when openelec (xbmc 12rc1) play / pause / stop
I tryed your plugin and i could send signals to xbmc from the plugin but it does not seems that i could receive any information from xbmc.
and jsonrpc gives me only connection error but for example sendNotification works.

So what do i have to configure to make the plugin listen to what xbmc does?
Post Reply