Page 85 of 94
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Tue Jun 07, 2016 11:38 am
by Luca Brasi
Hi Jonib,
I have the a problem with the xbmc2 plugin form time to time. It stops getting json notifications from kodi randomly. I will notice that in the way that my htpc doesn't go to standby. I am handling this with another plugin which is triggered from kodi/xbmc2 on screensaver activation.
Now... I know this has been a topic some time ago but I can't figure out what the latest status was on that. And the thread is quiet long...
I am using 0.6.23 of your plugin. Please let me know if there was a solution back then or how I can help to solve this.
Thanks
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Tue Jun 07, 2016 1:12 pm
by jonib
Luca Brasi wrote:I have the a problem with the xbmc2 plugin form time to time. It stops getting json notifications from kodi randomly. I will notice that in the way that my htpc doesn't go to standby. I am handling this with another plugin which is triggered from kodi/xbmc2 on screensaver activation.
Now... I know this has been a topic some time ago but I can't figure out what the latest status was on that. And the thread is quiet long...
I am using 0.6.23 of your plugin. Please let me know if there was a solution back then or how I can help to solve this.
Thanks
Ver 0.6.33 is the last test and seems to improve the detection and connection to Kodi.
If your problem is fixed with it great, I need feedback that its working so I can have it included in EventGhost.
If not I would like more specific information about the problem like when does it loose the notification and stuff.
jonib
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Tue Jun 07, 2016 5:32 pm
by Luca Brasi
Ah ok. I'll run it with 0.6.33 now for a while and check if it helps. I'll come back to if the connections gets lost again. I'll need some more help with debugging then I guess cause I have no clue how monitor this...
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Thu Jun 16, 2016 8:22 am
by Luca Brasi
Hi Jonib,
after having 0.6.33 running for a while now I wanted to let you know that the connection was stable since. Seems that my probs got solved with this.
Thanks for your help!
Luca
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Thu Jun 16, 2016 10:39 am
by jonib
Luca Brasi wrote:after having 0.6.33 running for a while now I wanted to let you know that the connection was stable since. Seems that my probs got solved with this.
Thanks for your help!
Thank you for letting me know, now I might be able to finish a release that I want to get included in EventGhost.
So anyone interested please report anything that needs fixing in
ver 0.6.33, as I'll try in the coming week to focus fixing stuff in the plugin and get it included in EventGhost.
jonib
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Tue Aug 16, 2016 9:38 am
by fuxxi
Does the plugin works with EG 0.5.0 Beta? Anybody tried already?
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Wed Aug 17, 2016 8:15 pm
by jonib
fuxxi wrote:Does the plugin works with EG 0.5.0 Beta? Anybody tried already?
I haven't had a chance to test the new EventGhost beta yet, so no idea if there is any compatibility issues.
If there are reports that the included or the latest test version has problems. I'll up my priority testing it. Otherwise I don't know when I'll have an opportunity.
jonib
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Thu Aug 18, 2016 4:42 am
by blaher
fuxxi wrote:Does the plugin works with EG 0.5.0 Beta? Anybody tried already?
version = "0.6.19" works with Beta 3, but the latest version = "0.6.33", says it can't find actions.dat.
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Thu Aug 18, 2016 6:52 am
by fuxxi
blaher wrote:but the latest version = "0.6.33", says it can't find actions.dat.
so it does with EG 0.4.x

Thanks for that info - gonna install EG 0.5 now.

Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Mon Sep 26, 2016 6:15 am
by blaher
I'm trying to switch profiles using json and was just curious why this doesn't work?
It works with an HTTP link calling json, but not from the plugin, i.e. this works:
import urllib; urllib.urlopen('
http://192.168.0.194:8081/jsonrpc?reque ... t"},"id":1}')
Thanks.
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Mon Sep 26, 2016 11:20 am
by jonib
blaher wrote:I'm trying to switch profiles using json and was just curious why this doesn't work?
Using 0.6.33 and connecting to Kodi 16.1Rc3 it works fine for me. (Had to create a new profile)
What versions are you using?
version = "0.6.19" works with Beta 3, but the latest version = "0.6.33", says it can't find actions.dat.
This is not a problem unless you need the extra actions that can't be downloaded as the website changed and I haven't updated the plugin. Older versions don't have those actions.
jonib
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Wed Sep 28, 2016 12:05 am
by blaher
jonib wrote:blaher wrote:I'm trying to switch profiles using json and was just curious why this doesn't work?
Using 0.6.33 and connecting to Kodi 16.1Rc3 it works fine for me. (Had to create a new profile)
What versions are you using?
Thank you for testing that.
I'm using 16.1 Jarvis and 0.6.33D
Is this the correct format for the plugin json bit, or have I messed it up?
{"method":"Profiles.LoadProfile","params":{"profile":"night"},"id":1}
As an aside, I got this error when loading on EG 1722, but I don't get it on my main PC running EG beta 4...I'm not sure what I've done wrong.
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Wed Sep 28, 2016 5:45 am
by jonib
blaher wrote:Is this the correct format for the plugin json bit, or have I messed it up?
{"method":"Profiles.LoadProfile","params":{"profile":"night"},"id":1}
This one works for me (tested in Kodi 17 alpha2):
Code: Select all
{"jsonrpc":"2.0","method":"Profiles.LoadProfile","params":{"profile":"night"},"id":1}
As an aside, I got this error when loading on EG 1722, but I don't get it on my main PC running EG beta 4...I'm not sure what I've done wrong.
xbmcclient.py seems to be missing/corrupt should be in the XBMCRepeat directory.
jonib
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Thu Sep 29, 2016 12:36 am
by blaher
Thanks for your help again. The reason it wasn't working on my other PC, was because I'm an idiot and copied the .ini file to xbmceventreceiver, instead of xbmcrepeat!
D'oh!

How to identify files associated with u'id'
Posted: Fri Oct 07, 2016 9:16 pm
by egbaud
I've depended on the Janitor add-on for Kodi to move watched tv and movies to a watched folder, which then gets cleaned out periodically. But with Krypton, Janitor is broken, and the author says he's not sure when he'll be able to fix it. So I was wondering if I could replace its functions with Eventghost and this plugin.
Whenever a show is marked as "Watched", XBMC2 fires the following event:
XBMC2.VideoLibrary.OnUpdate.episode {u'item': {u'id': 88408}, u'playcount': 1}
Does anybody know how to associate the episode id in this event with filenames for the watched media? I've looked in the .db files in kodi\userdata\database with the SQLite browser, and I can't find any reference to 88408 in any episode related table.
Any pointers?
UPDATE
Because I installed the WIndows Store version of Kodi Krypton, the appdata for Kodi moved to
C:\Users\MYUSERNAME\AppData\Local\Packages\XBMCFoundation.Kodi_4n2hpmxwrvr6p\LocalCache\Roaming\Kodi
I guess I'll need to figure out how to find the Kodi appdata programmatically, somehow.
I was able to find the relevant episode id in the database there. I'll report back if I'm able to identify the files associated with an episode based on episode id.