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.
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)
- Luca Brasi
- Experienced User
- Posts: 262
- Joined: Sat Oct 11, 2008 12:39 pm
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
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
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
Win10 x64 Prof. / Eventghost latest / MCE Plugin / MCE RC6 Receiver / Logitech Harmony Hub / MediaPortal / kodi
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Ver 0.6.33 is the last test and seems to improve the detection and connection to Kodi.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
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
- Luca Brasi
- Experienced User
- Posts: 262
- Joined: Sat Oct 11, 2008 12:39 pm
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
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...
Win10 x64 Prof. / Eventghost latest / MCE Plugin / MCE RC6 Receiver / Logitech Harmony Hub / MediaPortal / kodi
- Luca Brasi
- Experienced User
- Posts: 262
- Joined: Sat Oct 11, 2008 12:39 pm
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
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
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
Win10 x64 Prof. / Eventghost latest / MCE Plugin / MCE RC6 Receiver / Logitech Harmony Hub / MediaPortal / kodi
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Thank you for letting me know, now I might be able to finish a release that I want to get included in EventGhost.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!
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)
Does the plugin works with EG 0.5.0 Beta? Anybody tried already?
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
I haven't had a chance to test the new EventGhost beta yet, so no idea if there is any compatibility issues.fuxxi wrote:Does the plugin works with EG 0.5.0 Beta? Anybody tried already?
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)
version = "0.6.19" works with Beta 3, but the latest version = "0.6.33", says it can't find actions.dat.fuxxi wrote:Does the plugin works with EG 0.5.0 Beta? Anybody tried already?
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
so it does with EG 0.4.xblaher wrote:but the latest version = "0.6.33", says it can't find actions.dat.
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
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.
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)
Using 0.6.33 and connecting to Kodi 16.1Rc3 it works fine for me. (Had to create a new profile)blaher wrote:I'm trying to switch profiles using json and was just curious why this doesn't work?
What versions are you using?
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.version = "0.6.19" works with Beta 3, but the latest version = "0.6.33", says it can't find actions.dat.
jonib
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Thank you for testing that.jonib wrote:Using 0.6.33 and connecting to Kodi 16.1Rc3 it works fine for me. (Had to create a new profile)blaher wrote:I'm trying to switch profiles using json and was just curious why this doesn't work?
What versions are you using?
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)
This one works for me (tested in Kodi 17 alpha2):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}
Code: Select all
{"jsonrpc":"2.0","method":"Profiles.LoadProfile","params":{"profile":"night"},"id":1}xbmcclient.py seems to be missing/corrupt should be in the XBMCRepeat directory.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.
jonib
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
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!
D'oh!
How to identify files associated with u'id'
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.
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.
