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.
Exile82
Posts: 13
Joined: Sat Jul 25, 2015 1:37 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by Exile82 »

Hi. I started using this awesome plugin yesterday, works like a charm. One question though, is it possible to use the plugin with multiple machines by using the IP to differentiate? I only see one option of adding a machine (by IP). If possible, I would like to use it with another Kodi setup.
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 »

Exile82 wrote:Hi. I started using this awesome plugin yesterday, works like a charm.
Cool, great.
One question though, is it possible to use the plugin with multiple machines by using the IP to differentiate? I only see one option of adding a machine (by IP). If possible, I would like to use it with another Kodi setup.
Sure, just add the plugin for every Kodi/XBMC you want to control.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
Exile82
Posts: 13
Joined: Sat Jul 25, 2015 1:37 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by Exile82 »

jonib wrote:
Exile82 wrote:Hi. I started using this awesome plugin yesterday, works like a charm.
Cool, great.
One question though, is it possible to use the plugin with multiple machines by using the IP to differentiate? I only see one option of adding a machine (by IP). If possible, I would like to use it with another Kodi setup.
Sure, just add the plugin for every Kodi/XBMC you want to control.

jonib
Oh, so I can just add the plugin multiple times? Why didn't I think about that? Thanks.

One more thing. I noticed yesterday that a few times EG did not receive any events from Kodi (Openelec). Is this something that can happen from time to time? I know this issue can be connected to the HTPC and not to EG, I just wanted to know if this is well-known and maybe get a pointer on how to avoid this.

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

Code: Select all

One more thing. I noticed yesterday that a few times EG did not receive any events from Kodi (Openelec). Is this something that can happen from time to time? I know this issue can be connected to the HTPC and not to EG, I just wanted to know if this is well-known and maybe get a pointer on how to avoid this.
This happens to me as well from time to time. I just came here to ask about it.
I will have to disable and then enable the plugin to get it working again. My gut tells me that it might happen after a couple of resumes/wakes. Can't tell for sure. I will try to disable/enable the plugin on system resume and alternatively on kodi start. Let's see if that helps. Exile82, you might try the same as a workaround for now.
Win10 x64 Prof. / Eventghost latest / MCE Plugin / MCE RC6 Receiver / Logitech Harmony Hub / MediaPortal / kodi
Exile82
Posts: 13
Joined: Sat Jul 25, 2015 1:37 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by Exile82 »

Luca Brasi wrote:

Code: Select all

One more thing. I noticed yesterday that a few times EG did not receive any events from Kodi (Openelec). Is this something that can happen from time to time? I know this issue can be connected to the HTPC and not to EG, I just wanted to know if this is well-known and maybe get a pointer on how to avoid this.
This happens to me as well from time to time. I just came here to ask about it.
I will have to disable and then enable the plugin to get it working again. My gut tells me that it might happen after a couple of resumes/wakes. Can't tell for sure. I will try to disable/enable the plugin on system resume and alternatively on kodi start. Let's see if that helps. Exile82, you might try the same as a workaround for now.
Yes, that is the exact same scenario. I came home yesterday and started my HTPC, my server with EG had been running the whole day (different machines). When I checked the log, no Kodi events were received by EG. I restarted the server, and I immediately received a notification in Kodi that EG was connected.
It seems that EG stops to listen for events. I have not seen a pattern yet, but I believe it is when my HTPC running Kodi is turned off for a day and then turned on again (could be less).

Thanks for your advice Luca Brasi, really appreciate it! I do not know if that is a solution for me since I am running EG and Kodi on different machines. However, I might have other ways to solve this?! I always pull my motorized projector screen down (433,92 mHz), that could maybe trigger disable/enable the plugin.

I also noticed in the plugin settings that you can increase the number of connection retries (default is 5, 5 seconds apart). I am wondering if you can increase that number to, let say, 17280 retries. That should cover the whole day and night.

Anyways, I hope you can keep me updated about your progress Luca.

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 »

@Exile82 and @Luca Brasi: What version of the plugin are you using? have you tried the latest here?

It sends a ping command periodically to keep a connection alive, I might need to adjust it to detect non responding connection.

I don't really use the events from Kodi and I don't use any sleep modes so don't really know how they effect the events.

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 »

Exile82 wrote:I also noticed in the plugin settings that you can increase the number of connection retries (default is 5, 5 seconds apart). I am wondering if you can increase that number to, let say, 17280 retries. That should cover the whole day and night.
I don't think this setting will help, I think the problem is that the plugin thinks it is connected still to Kodi and are waiting for events, but the connection was lost somehow but nobody told that to the plugin.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
Exile82
Posts: 13
Joined: Sat Jul 25, 2015 1:37 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by Exile82 »

jonib wrote:@Exile82 and @Luca Brasi: What version of the plugin are you using? have you tried the latest here?

It sends a ping command periodically to keep a connection alive, I might need to adjust it to detect non responding connection.

I don't really use the events from Kodi and I don't use any sleep modes so don't really know how they effect the events.

jonib
Hi jonib! That is a great bit of advice, I use the version which came along with the latest EG release. I checked the version and it is 0.6.19, an older release as it seems. I will try to update with the new .py file.
I am quite new with EG, is it possible to shut EG down, replace the old .py file with the new one, and then start EG again?
I don't think it is necessary for you to do any modifications at this point. I will try the new version first.
Thanks for great support.
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'll check it out. Not much time to test at the moment, bit I'll report back.
I am quite new with EG, is it possible to shut EG down, replace the old .py file with the new one, and then start EG again?
Yes that's how you do it. Like always it might be good advice to keep the old one. just in case.
Win10 x64 Prof. / Eventghost latest / MCE Plugin / MCE RC6 Receiver / Logitech Harmony Hub / MediaPortal / kodi
nissse
Posts: 11
Joined: Wed Sep 08, 2010 2:13 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by nissse »

Hello I have a quick question.

I use this plugin (as shown in pic) to execute a addon.
But is it any way to tell the addon to quit using eventghost ?
Attachments
Pic
Pic
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 »

nissse wrote:I use this plugin (as shown in pic) to execute a addon.
But is it any way to tell the addon to quit using eventghost ?
There is no (as far as I know) standard commands to addons, so you need to ask where there is support for this specific addon.
After you know the JSON-RPC command then there should be no problem using it in EventGhost.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
Exile82
Posts: 13
Joined: Sat Jul 25, 2015 1:37 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by Exile82 »

Exile82 wrote:
jonib wrote:@Exile82 and @Luca Brasi: What version of the plugin are you using? have you tried the latest here?

It sends a ping command periodically to keep a connection alive, I might need to adjust it to detect non responding connection.

I don't really use the events from Kodi and I don't use any sleep modes so don't really know how they effect the events.

jonib
Hi jonib! That is a great bit of advice, I use the version which came along with the latest EG release. I checked the version and it is 0.6.19, an older release as it seems. I will try to update with the new .py file.
I am quite new with EG, is it possible to shut EG down, replace the old .py file with the new one, and then start EG again?
I don't think it is necessary for you to do any modifications at this point. I will try the new version first.
Thanks for great support.
Hi jonib! Just wanted you to know that this plugin works much better with the update. Only one time EG has failed to receive events from my Kodi setup, and I can live with that. Thanks a lot!
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 »

Same here, have been running the newer version for couple of days here on my sys and all went well...
Win10 x64 Prof. / Eventghost latest / MCE Plugin / MCE RC6 Receiver / Logitech Harmony Hub / MediaPortal / kodi
egbaud
Posts: 35
Joined: Tue Mar 18, 2014 1:30 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by egbaud »

How do you determine which version you're running?
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 »

egbaud wrote:How do you determine which version you're running?
Hmm, not sure there is a better way then to open the plugins "__init__.py" file in a text editor and checking for "version".

I'll probably add the version in the plugins config dialog to make it easier.

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