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.
nonob
Experienced User
Posts: 76
Joined: Tue Dec 06, 2011 6:52 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by nonob »

Welcome back and good luck for the developpement. I hope you will be fine.
tjabas
Experienced User
Posts: 98
Joined: Sun Feb 07, 2016 6:28 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by tjabas »

tjabas wrote:
jonib wrote:Hi, so here is a new development version 0.6.23.

I have (finally) added all the missing built-In Functions, that I basically forgot to finish as I started to work on JSON-RPC support and my development became less efficient. :lol: :cry:

So there is a new action XBMC
2->Experimental->BuiltInFunctions
BuiltInFunctions.png
It gets the syntax from Kodis wiki unfortunately not all functions parameters are documented.

Edit: I did a fast update to add support for using Python code in the parameter field using "{ python code }",

Like always please backup your config and old plugin if you are going to test/use this. Any feedback is appreciated.

jonib
hi!

i have installed this uppdate, but all i get in the field is the word help, not wake on lan.




i found that there┬┤s a wake on lan addon for kodi, can it be used to "wake" xbmc2 on eventgost, so it can notice a kodi startup?
what could be wrong?
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:Welcome back and good luck for the developpement. I hope you will be fine.
Thanks, and I'll try.

Sooo as I was going to start responding to posts (after my last post), but then I got some annoying computer problems, that has taken the whole week to fix (hopefully done nowish).

And @tjabas I didn't get a notification about your post so I'll look into it first, hopefully today or tomorrow.

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 »

Good to see you back again, jonib. I hope the future is brighter for you. You can take solace from the fact that you've sure brightened other people's lives here!
Last edited by blaher on Mon Feb 22, 2016 10:23 pm, edited 1 time in total.
tjabas
Experienced User
Posts: 98
Joined: Sun Feb 07, 2016 6:28 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by tjabas »

jonib wrote:
nonob wrote:Welcome back and good luck for the developpement. I hope you will be fine.
Thanks, and I'll try.

Sooo as I was going to start responding to posts (after my last post), but then I got some annoying computer problems, that has taken the whole week to fix (hopefully done nowish).

And @tjabas I didn't get a notification about your post so I'll look into it first, hopefully today or tomorrow.

jonib[/quote

Welcome back, and tank you.
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 »

tjabas wrote:i have installed this update, but all i get in the field is the word help, not wake on lan.
Finally see the problem with the BuiltinFunctions, the website (Kodi.tv) has changed something again and I need to fix. Hopefully within the week.

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 »

tjabas wrote:i also have the same issue, is it possible to get xbmc2 to auto connect when kodi turns on?
There is some bug in my code that only happens sometime and it makes it hard to find.
I'll try to redo the detection code (ssdp) as I need it for another project also, I don't know how long it might take.

You shoulden't need to restart EventGhost to get notifications working again just disable the enable the XBMC2 plugin (in autostart), you can create a macro that does this so you can use it with a remote or something.
i found that there┬┤s a wake on lan addon for kodi, can it be used to "wake" xbmc2 on eventgost, so it can notice a kodi startup?
Sorry I don't think so.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
tjabas
Experienced User
Posts: 98
Joined: Sun Feb 07, 2016 6:28 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by tjabas »

jonib wrote:
tjabas wrote:i also have the same issue, is it possible to get xbmc2 to auto connect when kodi turns on?
There is some bug in my code that only happens sometime and it makes it hard to find.
I'll try to redo the detection code (ssdp) as I need it for another project also, I don't know how long it might take.

You shoulden't need to restart EventGhost to get notifications working again just disable the enable the XBMC2 plugin (in autostart), you can create a macro that does this so you can use it with a remote or something.
i found that there┬┤s a wake on lan addon for kodi, can it be used to "wake" xbmc2 on eventgost, so it can notice a kodi startup?
Sorry I don't think so.

jonib
first of all, thank you for a freat job.

the connection problem is every time for me, not just sometimes, it just wont reconnect, but after a restart of eventghost while kodi is on fix the problem.
but ofcouse it would be nice if it would autoconnect.

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 »

tjabas wrote:first of all, thank you for a freat job.
freat job?
the connection problem is every time for me, not just sometimes, it just wont reconnect, but after a restart of eventghost while kodi is on fix the problem.
but ofcouse it would be nice if it would autoconnect.
Try the attached version, activate "debug" in the settings and post the EventGhost log when you start Kodi and it's not detected. Also PM me the "...\AppData\Roaming\EventGhost\plugins\XBMC2\ssdp.log" log file (Check the file so it doesn't contain anything private)

As it happens every time should give me more insight, as I have only seen it a couple of times and I of course didn't have logging on at the time, and when I activate logging it works fine.

jonib
Attachments
__init__.py
XBMC2 Test ver 0.6.25 with slightly better logging of ssdp.
(121.3 KiB) Downloaded 102 times
XBMC2 plugin to control XBMC. If you want to flatter me Image
tjabas
Experienced User
Posts: 98
Joined: Sun Feb 07, 2016 6:28 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by tjabas »

jonib wrote:
tjabas wrote:first of all, thank you for a freat job.
freat job?
the connection problem is every time for me, not just sometimes, it just wont reconnect, but after a restart of eventghost while kodi is on fix the problem.
but ofcouse it would be nice if it would autoconnect.
Try the attached version, activate "debug" in the settings and post the EventGhost log when you start Kodi and it's not detected. Also PM me the "...\AppData\Roaming\EventGhost\plugins\XBMC2\ssdp.log" log file (Check the file so it doesn't contain anything private)

As it happens every time should give me more insight, as I have only seen it a couple of times and I of course didn't have logging on at the time, and when I activate logging it works fine.

jonib
i have done surgery to my eyes a couple of days ago, so my vision isnt great , i mean great job :)

i will install the file you attached and try to log it.
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 »

tjabas wrote:i have done surgery to my eyes a couple of days ago, so my vision isnt great , i mean great job :)
OK
i will install the file you attached and try to log it.
I forgot to ask do you have any of the UPnP settings active in Kodi?

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
tjabas
Experienced User
Posts: 98
Joined: Sun Feb 07, 2016 6:28 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by tjabas »

jonib wrote:
tjabas wrote:i have done surgery to my eyes a couple of days ago, so my vision isnt great , i mean great job :)
OK
i will install the file you attached and try to log it.
I forgot to ask do you have any of the UPnP settings active in Kodi?

jonib

yes the UPnP is activated, i have also tried dieferent kodi versions,but with no luck, is there any specific version that works good with your 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 »

tjabas wrote: i have also tried dieferent kodi versions,but with no luck, is there any specific version that works good with your plugin?
I tried version XBMC 11 (the oldest I have installed) and it works great, but then I started Kodi 15.2 and it wasn't detected. :cry: But when I restarted EventGhost the Kodi 15.2 worked fine again. So there is definitely something weird going on.

I have started to redo the detection code hopefully I can make it more robust.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
tjabas
Experienced User
Posts: 98
Joined: Sun Feb 07, 2016 6:28 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by tjabas »

jonib wrote:
tjabas wrote: i have also tried dieferent kodi versions,but with no luck, is there any specific version that works good with your plugin?
I tried version XBMC 11 (the oldest I have installed) and it works great, but then I started Kodi 15.2 and it wasn't detected. :cry: But when I restarted EventGhost the Kodi 15.2 worked fine again. So there is definitely something weird going on.

I have started to redo the detection code hopefully I can make it more robust.

jonib
i have searched for xbmc 11 for android, but unfortunately the oldest android version is xbmc12, and sadly that one didnt work.
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 »

tjabas wrote:i have searched for xbmc 11 for android, but unfortunately the oldest android version is xbmc12, and sadly that one didnt work.
So you are using Kodi on Android, that is probably why it doesn't work. The SSDP.log will hopefully tell me whats different.

edit: I'll have to test on my android 10" tablet.

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