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.
gechu
Experienced User
Posts: 58
Joined: Sat Jan 07, 2012 10:35 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by gechu »

After a clean install of Kodi JSON RPC calls didn┬┤t work anymore. Turned out I had to enable the HTTP interface in Kodi. I thought that (HTTP) interface had nothing to do with the JSON-RPC interface but apparently it is required to work.Why is that?
andyd
Posts: 21
Joined: Sun Jan 17, 2010 1:22 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by andyd »

jonib wrote:
andyd wrote:It's been a while since I've looked at my config but since the XBMC move to Kodi my config no longer works.

To be sure, the plugin will still work Kodi? Likely something else in my config that is throwing things off?
So I installed Kodi (I only had an older beta installed) and the normal actions/buttons seem to work. But there seems to be a problem with other stuff, I'll have to look into it more later.

jonib
Out of curiosity, what issues are you referring to? Is it JSON related? I don't actually use that. I also figured out why I was having issues - I automatically switch between apps based on what task is activated. I forgot to switch out XBMC for Kodi. After fixing that, it looks like I'm back in business.
Talguy
Posts: 25
Joined: Wed Mar 12, 2014 3:07 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by Talguy »

The big issue I have been experiencing with this plugin right now is the feedback events are not always triggering. By feedback events I mean that the plugin is not detecting when XBMC/Kodi starts playing a video or stops playing a video. I use those feedback signals to configure my button maps to a certain way. I would love to see this get fixed. It usually takes me a few tries in the plugin's configuration panel to get it to detect the events again. But it doesn't last very long if I close and open XBMC/Kodi without restarting Eventghost or the XBMC2 plugin.
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 »

gechu wrote:After a clean install of Kodi JSON RPC calls didn┬┤t work anymore. Turned out I had to enable the HTTP interface in Kodi. I thought that (HTTP) interface had nothing to do with the JSON-RPC interface but apparently it is required to work.Why is that?
There are several ways to access JSON-RPC in Kodi/XBMC, right now all JSON-RPC commands uses HTTP, only notifications uses TCP.
I might add support for TCP for all JSON-RPC functionality, but I would have to rewrite all JSON-RPC code.

I need to add some documentation about this stuff at some point. :oops:

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 »

andyd wrote:Out of curiosity, what issues are you referring to? Is it JSON related?
Well JSON-RPC notifications, and I had some errors in some of my scripts. All should work after I post the update.
I also figured out why I was having issues - I automatically switch between apps based on what task is activated. I forgot to switch out XBMC for Kodi. After fixing that, it looks like I'm back in business.
Great, easy mistake to do. :twisted:

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 »

Talguy wrote:The big issue I have been experiencing with this plugin right now is the feedback events are not always triggering. By feedback events I mean that the plugin is not detecting when XBMC/Kodi starts playing a video or stops playing a video. I use those feedback signals to configure my button maps to a certain way. I would love to see this get fixed. It usually takes me a few tries in the plugin's configuration panel to get it to detect the events again. But it doesn't last very long if I close and open XBMC/Kodi without restarting Eventghost or the XBMC2 plugin.
The update I'm about to post should (hopefully) fix this, please report back when you test.

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 »

As XBMC changed name to Kodi, the XBMC2 plugin was not able to detect when Kodi started and as a result JSON-RPC notifications wasn't working.

So here is an update that should fix that (please report if it doesn't), XBMC 13 should work like always.

Unfortunately there are no other changes, other then what was included in 0.6.16 test ver.

So anyone using Kodi please try this and if there are no problems I'll ask Pako to include it in EventGhost.

jonib
Attachments
__init__.py
XBMC2 plugin ver 0.6.17 the Kodi edition.
(110.06 KiB) Downloaded 184 times
XBMC2 plugin to control XBMC. If you want to flatter me Image
wolfgr
Posts: 4
Joined: Thu Jan 15, 2015 7:59 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by wolfgr »

jonib wrote:As XBMC changed name to Kodi, the XBMC2 plugin was not able to detect when Kodi started and as a result JSON-RPC notifications wasn't working.

So here is an update that should fix that (please report if it doesn't), XBMC 13 should work like always.

Unfortunately there are no other changes, other then what was included in 0.6.16 test ver.

So anyone using Kodi please try this and if there are no problems I'll ask Pako to include it in EventGhost.

jonib
ok mate that works just fine ,thank you very much.
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 »

wolfgr wrote:ok mate that works just fine ,thank you very much.
Thanks for reporting back. I'll wait a couple more days and if there are no problems I'll get it included in next EventGhost version.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
wolfgr
Posts: 4
Joined: Thu Jan 15, 2015 7:59 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by wolfgr »

jonib wrote:
wolfgr wrote:ok mate that works just fine ,thank you very much.
Thanks for reporting back. I'll wait a couple more days and if there are no problems I'll get it included in next EventGhost version.

jonib
seems that i was fast and wrong....plugin just detected kodi at first but then stoped detecting.I am confused ,i did not change any settings,just did a reboot and then again the plugin stoped detecting kodi starting.
Talguy
Posts: 25
Joined: Wed Mar 12, 2014 3:07 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by Talguy »

Jonib,

The new update seems to be working just fine for me. Thanks for getting it out to us.
Phil
Experienced User
Posts: 111
Joined: Tue Apr 15, 2014 10:42 am
Location: Merseyside, UK

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by Phil »

Hi
I'm having the same issue as wolfgr with 13.2 (openlelec version on raspberry pi). If I start eventghost after XBMC it picks it up fine, if its the other way around it doesnt work.
This is from 3 different XBMC boxes to 2 different PCs (one windows 8.1 one windows server 2012), with the default plugin in Eventghost, 6.16 and 6.17.
all Upnp turned on, http on, I think pretty much every switch I can turn on in xbmc has been turned on!

Any help appreciated!

/Phil
Talguy
Posts: 25
Joined: Wed Mar 12, 2014 3:07 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by Talguy »

so I think I found an issue with the plugin. I tried to add a custom JSON command to my logic tree to launch the pandoki xbmc addon. The json command I chose was the ExecuteAddon with the following argument ['plugin.audio.pandoki']. When I press the OK or APPLY buttons in the configure action dialog box eventghost locks up causing me tto have to kill the process in task manager and start it all over again. Is anyone else experiencing this kinf of lock up? I'm running XBMC/Kodi 14.0 Helix and the latest version of Eventghost
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 »

Talguy wrote:so I think I found an issue with the plugin. I tried to add a custom JSON command to my logic tree to launch the pandoki xbmc addon. The json command I chose was the ExecuteAddon with the following argument ['plugin.audio.pandoki']. When I press the OK or APPLY buttons in the configure action dialog box eventghost locks up causing me tto have to kill the process in task manager and start it all over again. Is anyone else experiencing this kinf of lock up? I'm running XBMC/Kodi 14.0 Helix and the latest version of Eventghost
I unfortunately know about this bug, I think there was a report about it a while ago, the unfortunete part is that I haven't fixed it yet as I have experienced it myself. :oops: I'm kinda surprised that there haven't been more reports about it.

So I haven't replied in a while again, I was hoping to do more testing to find the problem wolfgr has and to fix this bug with freezing EvenGhost. But no dice so I thought I had to reply to show I'm at least still alive. :roll:

I would still like to see more reports about the plugin working/not working with events in Kodi using ver 0.6.17.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
Talguy
Posts: 25
Joined: Wed Mar 12, 2014 3:07 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by Talguy »

thanks for getting back to me. I'll wait patiently till a fix is provided as I am in no dire need to create custom json commands. Was just trying to do some testing at the time. As for the latest update I can report back that the events received from kodi have been working great. My macros triggered by these events seem to be working about 100% of the time
Post Reply