Page 13 of 94

Re: XBMCRepeat XBMC plugin based on the official plugin

Posted: Sun Dec 19, 2010 2:46 am
by jonib
hanspettersson wrote:I get "Application not running" when i try this?
Are you running XBMC on the same computer as EventGhost? If not you need to configure XBMCRepeat with the right IP/port. You might need to use another port if using port 80.
In XBMC you need to allow external programs to control XBMC (in XBMCs network settings).

I really need to change the "Application not running" error as it's not that useful.

jonib

Re: XBMCRepeat XBMC plugin based on the official plugin

Posted: Sun Dec 19, 2010 6:34 pm
by hanspettersson
jonib wrote:
hanspettersson wrote:I get "Application not running" when i try this?
Are you running XBMC on the same computer as EventGhost? If not you need to configure XBMCRepeat with the right IP/port. You might need to use another port if using port 80.
In XBMC you need to allow external programs to control XBMC (in XBMCs network settings).

I really need to change the "Application not running" error as it's not that useful.

jonib
Yes it┬┤s on the same computer.
And other commands in xmbcrepeat works fine.

Re: XBMCRepeat XBMC plugin based on the official plugin

Posted: Sun Dec 19, 2010 6:59 pm
by jonib
hanspettersson wrote:Yes it┬┤s on the same computer.
Did you check the network settings in XBMC? What port is XBMC using? Just because it's on the same computer it is still using the network settings.
And other commands in xmbcrepeat works fine.
Then at least the IP number is correct.

What XBMC version are you using?

jonib

Re: XBMCRepeat XBMC plugin based on the official plugin

Posted: Sun Dec 19, 2010 7:08 pm
by hanspettersson
jonib wrote:
hanspettersson wrote:Yes it┬┤s on the same computer.
Did you check the network settings in XBMC? What port is XBMC using? Just because it's on the same computer it is still using the network settings.
And other commands in xmbcrepeat works fine.
Then at least the IP number is correct.

What XBMC version are you using?

jonib
Got it working now.
I got a port conflict whit thw webserver.

But can you post a print screen of a "PlayFile" configuration.

Re: XBMCRepeat XBMC plugin based on the official plugin

Posted: Sun Dec 19, 2010 7:15 pm
by jonib
hanspettersson wrote:Got it working now.
Great.
But can you post a print screen of a "PlayFile" configuration.
Sure.
jonib

Re: XBMCRepeat XBMC plugin based on the official plugin

Posted: Wed Jan 05, 2011 11:12 am
by rolapinou
Hi
I'm quite new in using EventGhost.
Before discovering this topic I used to use the official XBMC pluggin.
I found your pluggin through this topic : http://forum.xbmc.org/showthread.php?t=45337 as I am using an old Xbox remote to control my XBMC.

I would like to understand the "philosophy" of your pluggin so I can "customize" it to work properly with my remote.

As I use the XBCDRD pluggin, I can see the IR commands on the left part of EG when i press the corresponding buttons on my remote.

Then, I shall drag and drop it on the right part to assignate an imput on the remote to an action in XBMC.

My question is about the structure of the pluggin. I think it allows to do more sophisticated things than what I can imagine.
For example, there is the action XBMCRepeat.Left in XBMCRepeat/Buttons/Remote but there is also an action nammed XBMCRepeat.Left in XBMCRepeat/Actions/General
Does this mean that I have to drap/drop the IR code (with the "lightenning" icon) nammed XBCRDC.Left in both "Left" Macro or if I do it only for the Macro in XBMCRepeat/Buttons/Remote it would work for both ?

Or Maybe the "philosophy" is a little different and the XBMCRepeat/Buttons/Remote folder is used in a first step to easily link the actions from the IR codes to actions that have corresponding names (as the name of the actions on this folder are slightly the name of the buttons one can find on each remote).
In a second step, a correspondance is established to link the actions listed in the Actions folder to those of the Buttons folder.
Am I right with this ?

For example, if I want to switch the audio language of a DVD played by XBMC while pressing the button "0" on my original XBox remote, how shall I do ?
I press the "0" button on my remote.
The corresponding IR order appears on the left side of EG under the name XBCRDC.0
I drag and drop the icon on the right side in the "0" Macro of the XBMCRepeat/Buttons/Remote folder, so it is assigned to XBMCRepeat:0 Action
Then, I navigate to the XBMCRepeat/Actions/FullScreen Video folder and fing the macro corresponding to the AudionextLanguage action. I right click on the icon, and choose "Add Action" and then I navigate to point the "0" Action in the XBMCRepeat/Buttons/Remote folder

Am I right ?

Thanks for your help and sorry for my english as I am French ;-)
Maybe, when you have time to spend, you should try to write a tutorial for "dummies" like me.

Re: XBMCRepeat XBMC plugin based on the official plugin

Posted: Wed Jan 05, 2011 3:42 pm
by jonib
rolapinou wrote:I found your pluggin through this topic : http://forum.xbmc.org/showthread.php?t=45337 as I am using an old Xbox remote to control my XBMC.
Cool.
I would like to understand the "philosophy" of your pluggin so I can "customize" it to work properly with my remote.
The idea is to use buttons from the "Remote" or "Gamepad" folders to get the same functionality that is on the XBMC on the XBOX when using a remote or a gamepad, as "Remote" and "Gamepad" buttons are defined in XBMCs "Keymap.xml" and thus are context sensitive and then to complement any missing functions from the different action groups that are not context sensitive.(This is from the first post and I don't really know how to improve it.)
For example, there is the action XBMCRepeat.Left in XBMCRepeat/Buttons/Remote but there is also an action nammed XBMCRepeat.Left in XBMCRepeat/Actions/General
The difference with the two are that the first always is the "Left" action, even if XBMC can't use it at the moment. Any actions in the Remote/Gamepad buttons folders depend on what is defined in XBMCs Keymaps settings. So Left can be to move left or jump ahead in a video, depending on what you are doing in XBMC.
Does this mean that I have to drap/drop the IR code (with the "lightenning" icon) nammed XBCRDC.Left in both "Left" Macro or if I do it only for the Macro in XBMCRepeat/Buttons/Remote it would work for both ?
As you are using a XBOX remote you should only need to assign in the remote folder. Never assign the same remote button to two different actions.
Or Maybe the "philosophy" is a little different and the XBMCRepeat/Buttons/Remote folder is used in a first step to easily link the actions from the IR codes to actions that have corresponding names (as the name of the actions on this folder are slightly the name of the buttons one can find on each remote).
In a second step, a correspondance is established to link the actions listed in the Actions folder to those of the Buttons folder.
Am I right with this ?
Any buttons assigned in the remote folder will correspond to a specific action depending on the settings in XBMCs keymap.xml file(s).
For example, if I want to switch the audio language of a DVD played by XBMC while pressing the button "0" on my original XBox remote, how shall I do ?
I press the "0" button on my remote.
The corresponding IR order appears on the left side of EG under the name XBCRDC.0
I drag and drop the icon on the right side in the "0" Macro of the XBMCRepeat/Buttons/Remote folder, so it is assigned to XBMCRepeat:0 Action
I don't think the Remote button "0" will change the language anymore, so you would need to edit the <FullscreenVideo> section in keymaps\remote.xml in XBMCs install directory. If you assign AudionextLanguage action in EventGhost you can't use the "0" for anything else.
Then, I navigate to the XBMCRepeat/Actions/FullScreen Video folder and fing the macro corresponding to the AudionextLanguage action. I right click on the icon, and choose "Add Action" and then I navigate to point the "0" Action in the XBMCRepeat/Buttons/Remote folder
One or the other but not both.
Thanks for your help and sorry for my english as I am French ;-)
As long as I can decipher it I don't care :lol:
Maybe, when you have time to spend, you should try to write a tutorial for "dummies" like me.
I have been meaning to ask if somebody would be willing to write some better documentation/tutorial. As I hate doing documentation. :oops:

jonib

Re: XBMCRepeat XBMC plugin based on the official plugin

Posted: Wed Jan 05, 2011 4:45 pm
by rolapinou
jonib,

Thanks for your fast and detailed answer.
I think I still have a lot of things to understand !
Could you please post the .xml you use with Evenghost so I could understand better ?

Could you explain me how shall I do if I want to switch language while pressing the button 0 (= number 0) onmy Xbox remote ?
I think this shoul help me a lot.

Many thanks !

Re: XBMCRepeat XBMC plugin based on the official plugin

Posted: Wed Jan 05, 2011 9:00 pm
by jonib
rolapinou wrote:Could you please post the .xml you use with Evenghost so I could understand better ?
If you think it will help. jonibEG.xml attached. There are a lot of stuff unrelated to XBMC there.
Could you explain me how shall I do if I want to switch language while pressing the button 0 (= number 0) onmy Xbox remote ?
you can try the attached remote.xml. Just put it in userdata\Keymaps directory, see here where it's located. And then using the Zero remote button macro should work.

jonib

Re: XBMCRepeat XBMC plugin based on the official plugin

Posted: Wed Jan 12, 2011 7:13 pm
by webo
I'm using xbmc 10 and ive noticed that both this plugin and the original xbmc plugin have an issue with the pause command. All other mappings I've used work just fine but when I go to use pause, it shows up in the EG log with the button press (using generic HID) and the action (XBMCRepeat:Pause) but the video does not pause in xbmc. I have to open the OSD to pause each time.

Re: XBMCRepeat XBMC plugin based on the official plugin

Posted: Wed Jan 12, 2011 7:27 pm
by jonib
webo wrote:I'm using xbmc 10 and ive noticed that both this plugin and the original xbmc plugin have an issue with the pause command. All other mappings I've used work just fine but when I go to use pause, it shows up in the EG log with the button press (using generic HID) and the action (XBMCRepeat:Pause) but the video does not pause in xbmc. I have to open the OSD to pause each time.
I'm watching a video in XBMC 10 right now and the Pause works fine. I suspect you have mapped two pause actions to the pause button, then it would seem as not working.

Clear your EventGhost log, then press the pause button and see if you get multiple Pause/play actions.

jonib

Re: XBMCRepeat XBMC plugin based on the official plugin

Posted: Wed Jan 12, 2011 10:18 pm
by webo
NM, fixed it with the right mapping. I coulda swore I made that mapping several times too...

Thanks!

Re: XBMCRepeat XBMC plugin based on the official plugin

Posted: Mon Feb 07, 2011 7:34 am
by hanspettersson
Can I get the Album art from current playing music and movie to the webbserver?
Like " Now playing" and then the picture from album art or the movie art.

Re: XBMCRepeat XBMC plugin based on the official plugin

Posted: Mon Feb 07, 2011 8:40 am
by jonib
hanspettersson wrote:Can I get the Album art from current playing music and movie to the webbserver?
With JSON-RPC looks like you need to use (Audio/Video)Playlist.GetItems to get a thumbnail or fanart path, something like "special://home/userdata/Thumbnails/Music/f/f922ad60.tbn". adding http://localhost:8080/vfs/ making it http://localhost:8080/vfs/special://hom ... 22ad60.tbn then I can view the image in my browser. You might need to use Files.Download JSON method to get a usable path.

With the HTTPAPI looks like you need to use "Commands that retrieve information\GetCurrentlyPlaying" to get the Thumb path, something like "special://home/userdata/Thumbnails/Music/f/f922ad60.tbn". adding http://localhost:8080/vfs/ making it http://localhost:8080/vfs/special://hom ... 22ad60.tbn then I can view the image in my browser.

You need to be using the test build with JSON-RPC/HTTPAPI support.

Hope this was what you ware after, if not please ask again.

jonib

Re: XBMCRepeat XBMC plugin based on the official plugin

Posted: Mon Feb 07, 2011 6:17 pm
by hanspettersson
jonib wrote:
hanspettersson wrote:Can I get the Album art from current playing music and movie to the webbserver?
With JSON-RPC looks like you need to use (Audio/Video)Playlist.GetItems to get a thumbnail or fanart path, something like "special://home/userdata/Thumbnails/Music/f/f922ad60.tbn". adding http://localhost:8080/vfs/ making it http://localhost:8080/vfs/special://hom ... 22ad60.tbn then I can view the image in my browser. You might need to use Files.Download JSON method to get a usable path.

With the HTTPAPI looks like you need to use "Commands that retrieve information\GetCurrentlyPlaying" to get the Thumb path, something like "special://home/userdata/Thumbnails/Music/f/f922ad60.tbn". adding http://localhost:8080/vfs/ making it http://localhost:8080/vfs/special://hom ... 22ad60.tbn then I can view the image in my browser.

You need to be using the test build with JSON-RPC/HTTPAPI support.

Hope this was what you ware after, if not please ask again.

jonib
Can you post a printscreen or two please? :D