Page 78 of 94

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Fri Feb 12, 2016 12:58 pm
by nonob
Welcome back and good luck for the developpement. I hope you will be fine.

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Thu Feb 18, 2016 10:12 am
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?

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Sun Feb 21, 2016 1:19 pm
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

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Mon Feb 22, 2016 1:51 am
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!

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Mon Feb 22, 2016 4:59 am
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.

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Tue Feb 23, 2016 2:10 am
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

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Tue Feb 23, 2016 2:19 am
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

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Tue Feb 23, 2016 1:45 pm
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.

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Tue Feb 23, 2016 2:23 pm
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

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Wed Feb 24, 2016 4:33 pm
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.

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Thu Feb 25, 2016 3:50 am
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

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Thu Feb 25, 2016 6:18 pm
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?

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Thu Feb 25, 2016 8:17 pm
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

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Thu Feb 25, 2016 8:46 pm
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.

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Thu Feb 25, 2016 9:03 pm
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