Page 69 of 94

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Sat Jan 24, 2015 10:45 pm
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?

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Mon Jan 26, 2015 1:44 am
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.

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Wed Jan 28, 2015 3:18 pm
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.

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Thu Jan 29, 2015 2:58 am
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

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Thu Jan 29, 2015 3:02 am
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

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Thu Jan 29, 2015 3:05 am
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

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Thu Jan 29, 2015 3:14 am
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

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Fri Jan 30, 2015 5:19 pm
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.

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Fri Jan 30, 2015 7:38 pm
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

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Fri Jan 30, 2015 11:47 pm
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.

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Sat Jan 31, 2015 12:24 am
by Talguy
Jonib,

The new update seems to be working just fine for me. Thanks for getting it out to us.

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Sun Feb 01, 2015 8:51 pm
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

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Mon Feb 02, 2015 1:51 pm
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

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Wed Feb 11, 2015 12:25 am
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

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Wed Feb 11, 2015 2:11 am
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