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.
builderjer
Posts: 12
Joined: Mon Nov 17, 2014 3:29 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by builderjer »

With Log Raw Events.PNG
With Log Raw Events.PNG
Ok, so I went to take the screen shots that you mentioned, and it started logging the events this time without the "Log Raw Events" being checked, but along with that sent some errors also. It seems to work ok, but I don't think it should have the errors.

One note: I am accessing my HTPC through a remote desktop as it is a modified laptop made to look like a piece of A/V equipment, so it has no keyboard and mouse; hence why I am setting up the remote only.
The computer I am using to access it is running the Linux flavor, OpenSuse 13.1. It is my main administrative computer as it accesses all of the others in the house.
Attachments
Without Log Raw.PNG
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 »

builderjer wrote: It seems to work ok, but I don't think it should have the errors.
Looks like some of the events are not handled properly, could you copy some of the errors from the log so I can see the complete error text?

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
builderjer
Posts: 12
Joined: Mon Nov 17, 2014 3:29 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by builderjer »

This is the error that seems to pop up.

Code: Select all

Raw event: '{"jsonrpc":"2.0","method":"Playlist.OnClear","params":{"data":{"playlistid":1},"sender":"xbmc"}}{"jsonrpc":"2.0","method":"Playlist.OnAdd","params":{"data":{"item":{"id":5,"type":"movie"},"playlistid":1,"position":0},"sender":"xbmc"}}{"jsonrpc":"2.0","method":"Player.OnPlay","params":{"data":{"item":{"id":5,"type":"movie"},"player":{"playerid":1,"speed":1}},"sender":"xbmc"}}{"jsonrpc":"2.0","method":"Application.OnVolumeChanged","params":{"data":{"muted":true,"volume":100},"sender":"xbmc"}}{"jsonrpc":"2.0","method":"Player.OnStop","params":{"data":{"end":false,"item":{"id":5,"type":"movie"}},"sender":"xbmc"}}'
It only happens when the "log raw events" is checked
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 »

builderjer wrote:This is the error that seems to pop up.
Thanks. The events don't seem problematic, weird. I'll look into it more later.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
leothlon
Experienced User
Posts: 59
Joined: Tue Dec 17, 2013 6:29 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by leothlon »

Hi,
When i run json-rpc gui.activatewindow with "{"window":"subtitlesearch"}" it opens the subtitle window correctly but EG freeze untill the window is closed again...
So this means if i open the window with my remote it wont let me choose a subtitle with the remote. i can with keyboard go up and down and select the right subtitle.

Does anyone know a good way to fix this or is there another way to bring up the subtitlesearch window?
wolfgr
Posts: 4
Joined: Thu Jan 15, 2015 7:59 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by wolfgr »

hello ,i am using latest eventghost and Kodi.If i run kodi first and eventghost(with xbmc2 plugin) second,everything works just fine ,if i close Kodi and then reopen, eventghost can not listen to Kodi 's actions.To fix that i have to keep kodi on and restart Eventghost.I need eventghost start with windows and be always on.
Is this normal?Am i doing something 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 »

wolfgr wrote:hello ,i am using latest eventghost and Kodi.If i run kodi first and eventghost(with xbmc2 plugin) second,everything works just fine ,if i close Kodi and then reopen, eventghost can not listen to Kodi 's actions.To fix that i have to keep kodi on and restart Eventghost.I need eventghost start with windows and be always on.
Is this normal?Am i doing something wrong?.
Do you have any of the Settings->Services->UPnP options enabled? If not you need at least "Allow control of Kodi via UPnP" enabled as the XBMC2 plugin uses UPnP to detect when XBMC/Kodi starts even over the network.

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 »

Sorry leothlon I totally forgot to reply.
leothlon wrote:When i run json-rpc gui.activatewindow with "{"window":"subtitlesearch"}" it opens the subtitle window correctly but EG freeze untill the window is closed again...
So this means if i open the window with my remote it wont let me choose a subtitle with the remote. i can with keyboard go up and down and select the right subtitle.

Does anyone know a good way to fix this or is there another way to bring up the subtitlesearch window?
I think you need to ask about this at the Kodi/XBMC forum. As some communications get blocked when some windows/dialogs are shown.

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 »

Sorry builderjer, looks like I forgot to look into your errors.

I'll try to look into it soon.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
wolfgr
Posts: 4
Joined: Thu Jan 15, 2015 7:59 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by wolfgr »

jonib wrote:
wolfgr wrote:hello ,i am using latest eventghost and Kodi.If i run kodi first and eventghost(with xbmc2 plugin) second,everything works just fine ,if i close Kodi and then reopen, eventghost can not listen to Kodi 's actions.To fix that i have to keep kodi on and restart Eventghost.I need eventghost start with windows and be always on.
Is this normal?Am i doing something wrong?.
Do you have any of the Settings->Services->UPnP options enabled? If not you need at least "Allow control of Kodi via UPnP" enabled as the XBMC2 plugin uses UPnP to detect when XBMC/Kodi starts even over the network.

jonib
i have all the upnp options enabled,check windows firewall,tried other random http ports,tried not only with local host but with computer ip also.Kodi and eventghost are on the same computer.Cant make it work....if i close kodi and reopen then plugin can not connect.If i restart eventghost/xbmc2 then everthing works fine....
Talguy
Posts: 25
Joined: Wed Mar 12, 2014 3:07 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by Talguy »

I'm getting a weird result when I send the "Select" action to XBMC/Kodi while in fullscreen viewing mode for TV shows, Movies or Music visiualizer and trying to bring up XBMC's OSD. This action is under the remote folder and is tied to the select button on my remote (tivo slide pro using the tivo slide pro plugin). This action should essentially mimic the enter key on our keyboards. When I'm playing a video (Movie or TV show) the OSD pops up as exepected when I send this action to XBMC, however this is not the case when I have music playing and the music visualizer in fullscreen. When I send this command to XBMC it brings up the preset visualizer screen instead of the OSD with playback controls. Is this an issue with the plugin or an issue with the JSON interface on XBMC's side?

Would love to get this fixed so I can have consistent control.
andyd
Posts: 21
Joined: Sun Jan 17, 2010 1:22 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Post by andyd »

It's been a while since I've looked at my config but since the XBMC move to Kodi my config no longer works.

To be sure, the plugin will still work Kodi? Likely something else in my config that is throwing things off?
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 »

andyd wrote:It's been a while since I've looked at my config but since the XBMC move to Kodi my config no longer works.

To be sure, the plugin will still work Kodi? Likely something else in my config that is throwing things off?
So I installed Kodi (I only had an older beta installed) and the normal actions/buttons seem to work. But there seems to be a problem with other stuff, I'll have to look into it more later.

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 »

Talguy wrote:I'm getting a weird result when I send the "Select" action to XBMC/Kodi while in fullscreen viewing mode for TV shows, Movies or Music visiualizer and trying to bring up XBMC's OSD. This action is under the remote folder and is tied to the select button on my remote (tivo slide pro using the tivo slide pro plugin). This action should essentially mimic the enter key on our keyboards. When I'm playing a video (Movie or TV show) the OSD pops up as exepected when I send this action to XBMC, however this is not the case when I have music playing and the music visualizer in fullscreen. When I send this command to XBMC it brings up the preset visualizer screen instead of the OSD with playback controls. Is this an issue with the plugin or an issue with the JSON interface on XBMC's side?

Would love to get this fixed so I can have consistent control.
Looks like that is how Kodi is configured, if you want to change how the buttons work you need to edit Kodis keymap(s).

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 »

wolfgr wrote:i have all the upnp options enabled,check windows firewall,tried other random http ports,tried not only with local host but with computer ip also.Kodi and eventghost are on the same computer.Cant make it work....if i close kodi and reopen then plugin can not connect.If i restart eventghost/xbmc2 then everthing works fine....
Looks like something works differently in Kodi I have to look into it, and hopefully it's a simple change.

Sorry for the late reply, don't have much energy to put on this plugin (or development in general). :cry:

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