Page 31 of 94
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Sun Jun 24, 2012 11:11 pm
by Livin
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

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?
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Mon Jun 25, 2012 1:11 am
by jonib
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
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Mon Jun 25, 2012 8:11 am
by nonob
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
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Fri Jul 06, 2012 3:59 am
by Livin
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?
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Fri Jul 06, 2012 2:21 pm
by jonib
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
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Fri Jul 06, 2012 5:31 pm
by Livin
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
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Fri Jul 06, 2012 11:13 pm
by jonib
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
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Fri Jul 20, 2012 5:44 am
by DMcK
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.
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Fri Jul 20, 2012 6:54 am
by jonib
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
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Fri Jul 20, 2012 3:08 pm
by DMcK
Hi,
jonib wrote:
For the rest I will need to see your EventGhost config.
jonib
Thanks,
Doug
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Fri Jul 20, 2012 7:03 pm
by jonib
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']]
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
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Sat Jul 21, 2012 2:53 pm
by DMcK
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
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Sun Jul 22, 2012 6:15 am
by bxr
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?
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Tue Jul 24, 2012 6:23 am
by blaher
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.
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Posted: Tue Jul 24, 2012 9:28 pm
by jonib
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