Support for XBMC2 plugin (formerly XBMCRepeat)

Questions and comments specific to a particular plugin should go here.

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Thu Dec 22, 2011 12:15 am

Have you read the Short manual? and the other documentation.

Plugins are only put in the Autostart folder at the top, so you need to add one more XBMC2 plugin in there and configure it.

When you add the XBMC2 plugin it by default adds all the available actions(commands) in a folder and those are then using a specific XBMC2 plugin.

Hope this helps.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
jonib
Plugin Developer
 
Posts: 722
Joined: Thu Mar 26, 2009 9:33 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby shinyghost » Thu Dec 22, 2011 1:35 am

For Some reason I missed the "#2" last time I tried it. Sorry to waste your time. Makes sense now. Thank you :D
shinyghost
 
Posts: 6
Joined: Wed Dec 21, 2011 2:38 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby redsix » Thu Dec 29, 2011 9:47 pm

Can someone please point me at the correct documentation to help me overcome my problems?

I have installed the MCE Remote plug-in and also the XBMC2 plugin (Win7 Ultimate platform, xbmc downloaded and installed just a few days ago), and from what I have read on here I expected it to 'just work' - but I have a few simple tasks that I cannot achieve. For instance, I find it impossible to return to the xmbc home screen from anywhere, and if I am in a movie information screen, I have to unlimber the keyboard to get back out of it! Simple stuff, I'm sure, but baffling me just now!

TIA
Steve
redsix
 
Posts: 2
Joined: Thu Dec 29, 2011 8:50 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Fri Dec 30, 2011 2:50 am

redsix wrote:Can someone please point me at the correct documentation to help me overcome my problems?
The EventGhost Short Manual is a good place to start if you haven't read it already, and also the other documentation.
MCE related read the MCE support thread. For XBMC2 read the first post in this thread if you haven't, and also read the last several pages of the XBMC2 thread for more.

and from what I have read on here I expected it to 'just work'
Unfortunately some configuration is needed always in EventGhost, as it supports a lot of options and devices so it can't just know how you expect it to work. Unless you find a ready made config that matches your hardware/software.

but I have a few simple tasks that I cannot achieve. For instance, I find it impossible to return to the xmbc home screen from anywhere,
Assuming you are getting the correct events from your remote, there are several ways to get to the home screen, if you want a button to always get you home wherever you are in XBMC, you need to assign a button event to XBMC2\Windows\Home.

and if I am in a movie information screen, I have to unlimber the keyboard to get back out of it! Simple stuff, I'm sure, but baffling me just now!
If you assign most of your remote buttons to actions in the XBMC2\Buttons\Remote folder, then using the XBMC2\Buttons\Remote\Menu and XBMC2\Buttons\Remote\Back or even the XBMC2\Buttons\Remote\Info buttons should get you out of the info screen.

Hopefully this is helpful to you.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
jonib
Plugin Developer
 
Posts: 722
Joined: Thu Mar 26, 2009 9:33 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby redsix » Fri Dec 30, 2011 12:44 pm

Many thanks for a prompt and comprehensive reply. My wife loves the xbmc interface (well, actually the fact that it responds so fast compared to WMC/MediaBrowser) and is pestering me to 'make it work', so I guess I'd better start reading!

Happy New Year to you.

Regards
Steve
redsix
 
Posts: 2
Joined: Thu Dec 29, 2011 8:50 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby zian » Sun Jan 22, 2012 1:45 pm

Howdy,
I just started using XBMC with PVR/DVR functionality (live TV, EPG, Set recordings etc) and it's pretty friggin' neat.
But...
There are some special keystrokes and windows/views that need to be done to navigate the different OSD functions/buttons for the PVR stuff.
It can be a pain... (record & watch & pause take 3 or so presses of my remote).

Is there any chance that a category for live TV or EPG View could be added to XBMC2?
Such as... If live TV is playing my normal XBMC Pause remote button would fire a different macro (show OSD, 1 click right, enter... Just an example).
And so on.
eventghost.net
Be there or be square.
zian
Site Admin
 
Posts: 285
Joined: Wed Jun 24, 2009 3:54 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Sun Jan 22, 2012 2:42 pm

zian wrote:I just started using XBMC with PVR/DVR functionality (live TV, EPG, Set recordings etc) and it's pretty friggin' neat.
Nice, I've been waiting for the PVR support in XBMC for a long time.
Is there any chance that a category for live TV or EPG View could be added to XBMC2?
Such as... If live TV is playing my normal XBMC Pause remote button would fire a different macro (show OSD, 1 click right, enter... Just an example).
And so on.
Unfortunately I can't test as I didn't get XBMC to connect to MythTV. But it sounds like you should be looking at the (XBMC system dir)\system\keymaps\remote.xml, there seems to be many new sections for PVR related control.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
jonib
Plugin Developer
 
Posts: 722
Joined: Thu Mar 26, 2009 9:33 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby zian » Sun Jan 22, 2012 3:51 pm

Yup,
It took me a few tries to get XBMC and MediaPortal TV Server to jive well.
Got it now.

Thanks for the link Joni. I have seen a few remote (keyboard strokes) for TV control in XBMC but the link you sent looks like it has quite a few more.
Ones I have seen before...
Code: Select all
e = activate EPG = XBMC.ActivateWindowAndFocus(MyPVR, 31,0, 10,0)
h = activate TV = XBMC.ActivateWindowAndFocus(MyPVR, 32,0, 11,0)
j = activate Radio = XBMC.ActivateWindowAndFocus(MyPVR, 33,0, 12,0)
k = activate Recordings = XBMC.ActivateWindowAndFocus(MyPVR, 34,0, 13,0)
b = activate Search = XBMC.ActivateWindowAndFocus(MyPVR, 35,0, 14,0)


A question...
At the link you gave it shows the graph...
Button String | Button On Original XBOX Remote | Button On Media Extender Remote | Remote Code (Shown with <loglevel>)
and for this one action...
recordedtv | N/A | Recorded TV | 154

I don't have a Media Extender Remote (I use X10 Firefly)... Would I have to use that 154 Remote Code somehow?
How?

Thanks for any pointers...
and one hella awesome plugin.
eventghost.net
Be there or be square.
zian
Site Admin
 
Posts: 285
Joined: Wed Jun 24, 2009 3:54 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Mon Jan 23, 2012 7:41 pm

zian wrote:At the link you gave it shows the graph...
Button String | Button On Original XBOX Remote | Button On Media Extender Remote | Remote Code (Shown with <loglevel>)
and for this one action...
recordedtv | N/A | Recorded TV | 154

I don't have a Media Extender Remote (I use X10 Firefly)... Would I have to use that 154 Remote Code somehow?
How?
XBMC2\Buttons\Remote\Recorded TV should work.

and one hella awesome plugin.
Thanks.

I looked in the Remote.xml and there seems to be some new actions that I could add to my plugin, I'll look into it more later. and hopefully I can get the PVR functionality working so I can test it too.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
jonib
Plugin Developer
 
Posts: 722
Joined: Thu Mar 26, 2009 9:33 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby zian » Tue Jan 24, 2012 2:57 am

Thanks again Joni,

I think I have a total EG n XBMC n X10 n WMC n everything else remote rebuild in my futur.

I have about 4 years worth have hacks and bashes and confabulated configs in my tree now and it's about time to start fresh.

Plus my XBMC - Media Portal EPG data has two channels backackward.

Things must change.
Wish me luck.
eventghost.net
Be there or be square.
zian
Site Admin
 
Posts: 285
Joined: Wed Jun 24, 2009 3:54 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Tue Jan 24, 2012 2:22 pm

I have attached a special XBMC PVR version of my XBMC2 plugin, it contains some new button/window actions that are available in the PVR edition of XBMC.

New remote buttons:
Liveradio and Epgsearch.

New window actions:
tv, pvr, pvrguideinfo, pvrrecordinginfo, pvrtimersetting, pvrgroupmanager, pvrchannelmanager, pvrguidesearch, pvrchannelscan, pvrupdateprogress, pvrosdchannels, pvrosdguide, pvrosddirector, pvrosdcutter, pvrosdteletext, filemanager and videos.

I don't know if these work as I haven't been able to test, I won't add them to the normal plugin until they are officially included.

jonib
Attachments
__init__.py
XBMC2 PVR edition.
(60.97 KiB) Downloaded 128 times
XBMC2 plugin to control XBMC. If you want to flatter me Image
jonib
Plugin Developer
 
Posts: 722
Joined: Thu Mar 26, 2009 9:33 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby zian » Tue Jan 24, 2012 10:14 pm

I'll give those a whirl in the morning Joni.
... and keep you posted.

Thanks... As always.
eventghost.net
Be there or be square.
zian
Site Admin
 
Posts: 285
Joined: Wed Jun 24, 2009 3:54 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby spitz66 » Thu Jan 26, 2012 12:07 am

Thanks for a great plugin! I've used it for a couple of years now and it works really well.
A question regarding the PVR actions added, did you add an action for "pause"? I don't know what action XBMC use in the OSD for Live TV to pause.
Another maybe silly question is if there's an easy way to update your plugin so that I don't have to copy all my events to a new tree?
I'm for the moment using v0.6.3...
spitz66
 
Posts: 6
Joined: Wed Oct 14, 2009 4:42 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Thu Jan 26, 2012 4:41 am

spitz66 wrote:Thanks for a great plugin! I've used it for a couple of years now and it works really well.
Thanks, and damn soon it's three years when I started to work on the plugin. :D
A question regarding the PVR actions added, did you add an action for "pause"? I don't know what action XBMC use in the OSD for Live TV to pause.
Sorry didn't see any pause related new action. I'll check if I can find other missing actions and hopefully get the PVR functionality to work to test. But don't know when.
Another maybe silly question is if there's an easy way to update your plugin so that I don't have to copy all my events to a new tree?
I'm for the moment using v0.6.3...
Just overwrite the plugin in Plugins\XBMCRepeat dir, and you will probably need to change the GUID in your EventGhost config, look here.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
jonib
Plugin Developer
 
Posts: 722
Joined: Thu Mar 26, 2009 9:33 pm

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby macchina » Thu Jan 26, 2012 7:46 am

Hi,

is it correct that eg.global-vars are not possible in the jsonrpc parameters?
I'm trying to configure the following using jsonrpc and python-scripts:

1. Get Player-ID (player.getplayers), write the id into eg.globlas.xbmcplayerid => works
2. Get currently playing song (player.getitem) using the eg.globals.xbmcplayerid as part of the parameters {"playerid":{eg.globals.xbmcplayerid}} => does'nt work
3. Get songdetails via song-id
...

Greetz
Macchina
macchina
 
Posts: 3
Joined: Wed Apr 08, 2009 11:53 am

PreviousNext

Return to Plugin Support

Who is online

Users browsing this forum: No registered users and 2 guests