Page 45 of 94
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Tue Mar 05, 2013 3:31 pm
by nonob
nonob wrote:So i installed 0.6..3e and now it seems to work better but i have this error message at EG start :
JSON-RPC event settings reset, please check.
I had to change how the settings are stored when I added the events support, you just have to open the configuration for XBMC2 plugin check that the settings are right then save, then the error should be gone.
It works
I'm surprised to see "HTTP API connected", i thought it was no longer available with frodo ? isn't it ?
The plugin just initializes the HTTPAPI support, it doesn't actually connect anywhere, so it doesn't know that it's not supported. I'm going to change that message.
Ok.
Put this code in the JSONRPC.Player.Open action, changing the "Path\\Movies.xsp" to your file of course, the slashes need to be doubled or it wont work.
Code: Select all
[{"file":"Path\\Movies.xsp"}]
It works, thanks a lot

Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Fri Mar 08, 2013 7:19 pm
by Mambo100
hi
Does someone know how I can check with eventghost whether xmbc doing something e.g. playing a media file?
I need the status of xmbc to trigger an event
thanks a lot
Mambo
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Sat Mar 09, 2013 4:04 am
by blaher
Mambo100 wrote:hi
Does someone know how I can check with eventghost whether xmbc doing something e.g. playing a media file?
I need the status of xmbc to trigger an event
Mambo
Yes, this plugin will let you do just that. It can differentiate between movies and music playing too.
viewtopic.php?f=9&t=1562&start=525#p23511 has the latest version
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Sun Mar 10, 2013 3:20 pm
by jonib
Mambo100 wrote:Does someone know how I can check with eventghost whether xmbc doing something e.g. playing a media file?
With the XBMC2 plugin you can get all kinds of information, using the
Experimental\JSONRPC action. For example
Experimental\JSONRPC.Player.GetActivePlayers will return a playerid if something is playing. More information about JSON-RPC in XBMC
here.
I need the status of xmbc to trigger an event
With the latest test version that blaher linked to, you can get events from XBMC. Instructions how to activate events
here.
The JSON-RPC syntax can be a bit difficult to use, I'm working on making it hopefully a bit easier to use. Just ask and I'll try to help with any commands if I can.
If you are using XBMC 12 (Frodo) you need to use the test version for JSON-RPC and events.
jonib
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Fri Mar 15, 2013 9:41 pm
by backbone10
Hi,
i would be very happy if someon can help me, since i am not an expert

I use XBMC 12 on W7 64, a x.10 remote and eventghoste and of course the xbmc2 plugin.
it was hard to find out how to get it configured for me, but o got it working, at least for a few weeks..
Altough i really did not change everything it looks like it is missing some infos
and i get the message :
Error in Action: "XBMC2.RemoteVolPlus()"
Traceback (most recent call last) (1610):
File "<string>", line 1, in <module>
NameError: name 'XBMC2' is not defined
its only an example for the vol+ key, no key that i defined in the past is working now..
i also tried to make a fresh installation, but without a change...
If further infos are required please let me know.....
thx for your help
br
bb10
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Sat Mar 16, 2013 9:21 am
by jonib
backbone10 wrote:If further infos are required please let me know.....
Attach your EventGhost config file, and I'll look into it.
jonib
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Sun Mar 17, 2013 10:46 am
by backbone10
Hi,
here is the config file.
Thx for your Offer !!
br
bb10
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Sun Mar 17, 2013 10:26 pm
by jonib
backbone10 wrote:Altough i really did not change everything it looks like it is missing some infos
and i get the message :
Well something has changed, EventGhost has replaced the actions for the XBMC2 plugin with PythonCommand actions for some reason so they don't work.
I have seen this happen when the correct plugin was missing when starting EventGhost and then saving the config.
I have attached your config that I have tried to fix, if it don't work and you don't have a (older) backup of your EventGhost config, you will need to re add all the actions you want to use.
jonib
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Mon Mar 18, 2013 12:10 pm
by backbone10
Hi jonib,
that did it , you are the hero of the day for me
i will backup my configs from now...
thank you very much for your help !!!
br
bb10
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Wed Mar 27, 2013 8:54 pm
by miljbee
Hello jonib,
I would like to set the volume level of xbmc.
I don't want to loop dozens of vol up/down to set it.
I saw that it could be done with json.
I have choosen Application.Setvolume, and tried different things in the param field, but I can't get it working. Could you help me please ?
Thanks in advance
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Wed Mar 27, 2013 11:40 pm
by jonib
miljbee wrote:I have choosen Application.Setvolume, and tried different things in the param field, but I can't get it working. Could you help me please ?
Two ways:
or
I'm trying to make it work without the "[]" or "{}" so commands like setvolume would only need "50" to work, so people wouldn't have to know JSON or have to ask, but I'm not finished with it yet.
jonib
XBMC2: SmallStepForward not available?
Posted: Sat Mar 30, 2013 9:21 am
by Biff
"XBMC2: SmallStepBack:" is available in EG, but (something like) XBMC2: SmallStepForward doesn't seem to be. Is there a way to create such a function?
And why is there available the first action only without having the vice verse function of it?
Open XBMC showing the last seen video?
Posted: Sat Mar 30, 2013 9:28 am
by Biff
Can I open XBMC showing the last seen video on the screen at the last position (where I have stopped, closed the video) of the video or the video before the last seen one by pressing a single key?
There is an action "Show foobar", where could I find the action doing the same for XBMC?
Is there an action to bring the video opened (currently watched and paused) in XBMC on top (in fulls screen mode, if not already being in)?
Re: XBMC2: SmallStepForward not available?
Posted: Sat Mar 30, 2013 12:31 pm
by jonib
Biff wrote:"XBMC2: SmallStepBack:" is available in EG, but (something like) XBMC2: SmallStepForward doesn't seem to be. Is there a way to create such a function?
I think it's possible to create it using JSON-RPC. Specifically "Experimental\JSONRPC\
Player.Seek". I'll see if I can make a command for you, when I have time. You would need to first get the current position then add your desired seek time.
And why is there available the first action only without having the vice verse function of it?
That is something you need to ask the XBMC developers.(
XBMC forum)
jonib
Re: Open XBMC showing the last seen video?
Posted: Sat Mar 30, 2013 12:46 pm
by jonib
Biff wrote:Can I open XBMC showing the last seen video on the screen at the last position (where I have stopped, closed the video) of the video or the video before the last seen one by pressing a single key?
With JSON-RPC it might be possible to do this, I'll have to look into it.
There is an action "Show foobar", where could I find the action doing the same for XBMC?
Do you mean to show/activate the XBMC window? or something else?
Is there an action to bring the video opened (currently watched and paused) in XBMC on top (in fulls screen mode, if not already being in)?
So the video is playing in the background with the XBMC homescreen/filelist showing and you want the video fully visible again? You can use "XBMC2\Buttons\Remote\Dispaly" or "XBMC2\Actions\Media Playing\Fullscreen".
jonib