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 Livin » Sun Jun 24, 2012 11:11 pm

jonib wrote:
Livin wrote:any updates to test?
Not at the moment. I was hoping for more feedback from the last test version. But I'll have to assume it works perfectly 8) and I'll make a proper release soonish (hopefully). When I'm done with my apartment moving.

jonib


I do have a few things that are not as I'd think I should be seeing (btw - using XBMC nightly build from 6/18)...

a) I'm not getting the movie title in the EG log...

2012-06-24 15:58:21 EVENT: XBMC2.Player.OnPlay.movie {u'item': {u'id': 127}, u'player': {u'playerid': 1, u'speed': 1}}

b) all movies and videos (have not tried episodes in a while so not sure there) played show as 'movie' in JSON. whether in the Library or not.

is there a setting I'm missing your plugin?
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
User avatar
Livin
Experienced User
 
Posts: 749
Joined: Wed Oct 08, 2008 4:56 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Mon Jun 25, 2012 1:11 am

Livin wrote:a) I'm not getting the movie title in the EG log...

2012-06-24 15:58:21 EVENT: XBMC2.Player.OnPlay.movie {u'item': {u'id': 127}, u'player': {u'playerid': 1, u'speed': 1}}
XBMC only includes the media id for some media types, nothing I can do about that. but you can use the JSON\VideoLibrary.GetMovieDetails action to get the title.

Edit: I posted some examples how to get more info from episodes here it should be similar for the getmovie action.

b) all movies and videos (have not tried episodes in a while so not sure there) played show as 'movie' in JSON. whether in the Library or not.
I guess the default media type is 'movie'. The plugin just shows what XBMC sends.

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

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby nonob » Mon Jun 25, 2012 8:11 am

Hum, i take this opportunity to ask you another thing: i'm suprised to see the "0" remote button start all my music files when i'm on music screen, on the "genre", "artist", "album" or "song" menu.
Anyway, it could be a good thing but with my about 5000 songs loaded in playlsit, XBMC become extremly slow..
Do you think my 5000 songs is too much for XBMC ??


Sorry for the late response, I have very limited experience with XBMC's music functionality, so don't know. sorry.

jonib


It works by limiting items to 250, and setting order to shuffle...

Bye
nonob
 
Posts: 44
Joined: Tue Dec 06, 2011 6:52 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby Livin » Fri Jul 06, 2012 3:59 am

jonib,
I was playing around a bit with my remote commands (mapping a few to my Harmony) and thought - this be easier if the XBMC plugin already had all the keyboard commands embedded in the plugin. If that was the case, all I'd need to do is add the MCE Keyboard device to my harmony, choose the buttons and I'd be done... no mapping in EG at all.

think this is something you could add?
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
User avatar
Livin
Experienced User
 
Posts: 749
Joined: Wed Oct 08, 2008 4:56 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Fri Jul 06, 2012 2:21 pm

Livin wrote:I was playing around a bit with my remote commands (mapping a few to my Harmony) and thought - this be easier if the XBMC plugin already had all the keyboard commands embedded in the plugin. If that was the case, all I'd need to do is add the MCE Keyboard device to my harmony, choose the buttons and I'd be done... no mapping in EG at all.
If I understand, you want me to make the plugins macros to react to the keyboard events that the MCE remote uses? Unfortunetly I don't know how to add that kind of events in the EventGhost config from a plugin.
If you or anybody else knows how to add those events? I'll gladly make it easier to configure the plugin to work with specific remotes.

think this is something you could add?
At the moment having finished EventGhost configs for specific remotes available from the plugin or this thread would make it easier. but others would need to provide the configs and I would gladly make them available.

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

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby Livin » Fri Jul 06, 2012 5:31 pm

I'd have figured there would be an easy way to pre populate the command tree?

I thought since both MCE Remote and MCE Keyboard are universal it command sets it would be a benefit for many users since tons use eg and mce remotes/KB
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
User avatar
Livin
Experienced User
 
Posts: 749
Joined: Wed Oct 08, 2008 4:56 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Fri Jul 06, 2012 11:13 pm

Livin wrote:I'd have figured there would be an easy way to pre populate the command tree?
Adding actions is easy/automatic. But events that the macros react to and other non actions I have not found out how to add.
Maybe there is a direct way from an action to add to the config tree. But I'll have to look into it when I finish the event related stuff.

I thought since both MCE Remote and MCE Keyboard are universal it command sets it would be a benefit for many users since tons use eg and mce remotes/KB
I would love to add built-in support for any remotes as long as I figure out how.

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

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby DMcK » Fri Jul 20, 2012 5:44 am

Hi, Joni.
Just got some new IR lights and am going to try some on/off/dimming with JSON. Basic events (OnPlay, OnPause, OnStop) are working for me. However, I tried to get filename/path information with JSONRPC: VideoLibrary.GetMovieDetails and GetCurrentlyPlayingFilename and received the two errors as shown in the attached jpeg. I know this is still in testing, but does your latest version support this yet? Or perhaps it is something I am doing?

I hope to get path information for the video I am playing so I can dim the lights for some movies but not for others.

Thanks,
Doug

P.S.
Thanks for the plugin. I love it!

P.P.S.
I had started this using the Broadcast Events method and could receive the filename in the event, but I wanted to use JSON. Similar to a previous poster, I had to quit and restart EG (not the computer) in order for JSON to work and to disable Broadcast.
Attachments
EG Get Movie Details Error.jpg
DMcK
 
Posts: 9
Joined: Sun Mar 27, 2011 5:22 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Fri Jul 20, 2012 6:54 am

DMcK wrote:Just got some new IR lights and am going to try some on/off/dimming with JSON. Basic events (OnPlay, OnPause, OnStop) are working for me. However, I tried to get filename/path information with JSONRPC: VideoLibrary.GetMovieDetails and GetCurrentlyPlayingFilename and received the two errors as shown in the attached jpeg. I know this is still in testing, but does your latest version support this yet? Or perhaps it is something I am doing?
I have a feeling GetCurrentlyPlayingFilename is not working with current XBMC, I'm not sure if I'm going to fix it or just remove it.
For the rest I will need to see your EventGhost config.

P.S.
Thanks for the plugin. I love it!
Glad you like it.

P.P.S.
I had started this using the Broadcast Events method and could receive the filename in the event, but I wanted to use JSON. Similar to a previous poster, I had to quit and restart EG (not the computer) in order for JSON to work and to disable Broadcast.
Hmm, I'll look into it. Thanks for the feedback.

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

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby DMcK » Fri Jul 20, 2012 3:08 pm

Hi,
jonib wrote:For the rest I will need to see your EventGhost config.
jonib


Thanks,
Doug
Attachments
EventGhost Config Theatre Room.xml
(83.8 KiB) Downloaded 51 times
DMcK
 
Posts: 9
Joined: Sun Mar 27, 2011 5:22 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Fri Jul 20, 2012 7:03 pm

DMcK wrote:I hope to get path information for the video I am playing so I can dim the lights for some movies but not for others.
So in VideoLibrary.GetMovieDetails you need to add [{{eg.event.payload['item']['id']}},['file']]
egGetMovieDetails.PNG
The {{eg.event.payload['item']['id']}} extracts the MovieID from the event, the ['file'] part specifies that you want the file path (list of properties)

Then you need to use {eg.result['moviedetails']['file']} to extract the path from the result, for example put in a ShowOSD to display it on the screen.

I'm planning to make this stuff easier, but at the moment this is how to do it. Hopefully you can get it to work.

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

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby DMcK » Sat Jul 21, 2012 2:53 pm

jonib wrote:So in VideoLibrary.GetMovieDetails you need to add [{{eg.event.payload['item']['id']}},['file']]

Cool and thank you. Awesome!! It works great!

I would never have guessed how to get the filename/path without having it handed to me. I'm glad you're planning to make it easier.

Doug
DMcK
 
Posts: 9
Joined: Sun Mar 27, 2011 5:22 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby bxr » Sun Jul 22, 2012 6:15 am

Can anyone explain how to use: buttons, actions, windows etc. so one button won't activate both of each.
Is it possible to use it without configuring remote.xml?
bxr
 
Posts: 5
Joined: Sat Jul 21, 2012 2:56 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby blaher » Tue Jul 24, 2012 6:23 am

Does anyone know if there's a discrete pause button in XBMC?

http://wiki.xbmc.org/index.php?title=Li ... _Functions
Shows there's a player control, but not pause argument.

The normal pause action in EventGhost's XBMC tree isn't discrete unfortunately.

Thanks a lot.
blaher
Experienced User
 
Posts: 151
Joined: Thu Nov 17, 2011 1:27 am

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Postby jonib » Tue Jul 24, 2012 9:28 pm

blaher wrote:Does anyone know if there's a discrete pause button in XBMC?
As far as I know there is no discreet pause just a pause/play toggle. You should post in the XBMC forum.

I made a script to simulate a discreet pause for a user here. Maybe it works for you.

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

PreviousNext

Return to Plugin Support

Who is online

Users browsing this forum: bryanleesterk and 2 guests