Support for XBMC2 plugin (formerly XBMCRepeat)

Questions and comments specific to a particular plugin should go here.
jonib
Plugin Developer
Posts: 1327
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by jonib » Tue Dec 31, 2019 7:42 am

fuqit3 wrote:
Mon Dec 30, 2019 9:41 pm
Thanks! but I don't need it, things are working correctly now after an update.
OK

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

fuqit3
Posts: 20
Joined: Sat Mar 04, 2017 5:22 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by fuqit3 » Fri Jan 03, 2020 10:24 pm

Jonib
Still having issues after the update so I do need your help with this. Would you mind?
Thx!

jonib
Plugin Developer
Posts: 1327
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by jonib » Fri Jan 03, 2020 11:09 pm

fuqit3 wrote:
Fri Jan 03, 2020 10:24 pm
Still having issues after the update so I do need your help with this. Would you mind?
Sure, your in luck that I hadn't started my PC (re)build yet :D

You need my XBMC2 plugin then create a macro in EventGhost, add a "Python script" action, paste the below code:

Code: Select all

eg.plugins.XBMC2.JSONRPC(u'Addons.SetAddonEnabled', u'["pvr.wmc", False]', True, True)
eg.plugins.EventGhost.Wait(1.0)
eg.plugins.XBMC2.JSONRPC(u'Addons.SetAddonEnabled', u'["pvr.wmc", True]', True, True)
This should disable the "pvr.wmc" plugin, wait 1 second then enable it again.

Hope it works for you.

jonib

Edit: If using older XBMC2 plugin included in EventGhost .4 use this code:

Code: Select all

eg.plugins.XBMC2.JSONRPC(u'Addons.SetAddonEnabled', u'["pvr.wmc", False]', True)
eg.plugins.EventGhost.Wait(1.0)
eg.plugins.XBMC2.JSONRPC(u'Addons.SetAddonEnabled', u'["pvr.wmc", True]', True)
XBMC2 plugin to control XBMC. If you want to flatter me Image

fuqit3
Posts: 20
Joined: Sat Mar 04, 2017 5:22 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by fuqit3 » Sat Jan 04, 2020 7:29 pm

Many Many thanks!!! it works

jonib
Plugin Developer
Posts: 1327
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by jonib » Sat Jan 04, 2020 7:52 pm

fuqit3 wrote:
Sat Jan 04, 2020 7:29 pm
Many Many thanks!!! it works
Great 8) , thanks for letting me know.

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

powermarcel10
Posts: 1
Joined: Thu Jan 16, 2020 5:39 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by powermarcel10 » Thu Jan 16, 2020 5:48 pm

Hi and thanks for this great plugin! Using it for a lot of things..

However, I'm missing one thing..

I want the navigation buttons as triggers for events.. When I navigate through kodi, in eventghost I see these actions as raw RAW events. By example for moving down in Kodi:

XBMC2: Raw event: 'XBMC\x02\x00\x00\x03\x00\x00\x00\x01\x00\x00\x00\x01\x00\x0eU\x89\x1e\xe8\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x003\x00\x00R1\x00down\x00' ('MY.IP.Adress', 44775)

But im not able to use this as a trigger/event in Eventghost.

The reason I want this: For watching television, im using a windows 10 app from my tv provider wich can be launched from kodi. I like to navigate through that app by using my yatse app on my phone. So when I swipe up, kodi (and so eventghost) detects it, and simulate a pressing up button command in the actual app I'm using.

jonib
Plugin Developer
Posts: 1327
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by jonib » Thu Jan 16, 2020 7:58 pm

What version of Kodi/XBMC are you using?
powermarcel10 wrote:
Thu Jan 16, 2020 5:48 pm
XBMC2: Raw event: 'XBMC\x02\x00\x00\x03\x00\x00\x00\x01\x00\x00\x00\x01\x00\x0eU\x89\x1e\xe8\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x003\x00\x00R1\x00down\x00' ('MY.IP.Adress', 44775)
That seems to be a "Broadcast event" but the format seems to be different, I'm guessing it is from a plugin and if so I need to know what plugin.

edit:
Or list the full raw events you need.

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

jonib
Plugin Developer
Posts: 1327
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by jonib » Thu Jan 23, 2020 12:19 pm

@jachin99: Did you get it to work?

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

Post Reply