XBMC

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

Re: XBMC

Postby kricker » Thu Oct 09, 2008 6:43 pm

New build here. If you have any video playback issues you may want to check out this post. It contains a link to new files for video decoding. I did not include it in my build since it is not in SVN.
kricker
Experienced User
 
Posts: 147
Joined: Thu Oct 12, 2006 5:49 am

Re: XBMC

Postby anyo » Thu Oct 09, 2008 10:04 pm

kricker wrote:New build here. If you have any video playback issues you may want to check out this post. It contains a link to new files for video decoding. I did not include it in my build since it is not in SVN.


Thanks!! I really appreciate it!
anyo
 
Posts: 5
Joined: Wed Oct 08, 2008 9:06 pm

Re: XBMC

Postby anyo » Sun Oct 12, 2008 4:54 am

If I play some music, then run the full screen visualization... some of the keys (up down left right) or anything to change the vis preset etc does not work. I don't see any special mappings for it with the plugin... should I just try and assign them the corresponding keyboard keys, or could these be added to the plugin?

BTW I'm using PM3.HD on one computer and playin around with mediastream on the other now... if it matters... mediastream has the ability for left right etc navigation in vis mode... which i need to use the keyboard for right now...

Thanks again!
anyo
 
Posts: 5
Joined: Wed Oct 08, 2008 9:06 pm

Re: XBMC

Postby kirs » Mon Oct 13, 2008 10:47 am

The problem is the plugin sends the actual actions to XBMC (like play, pause, etc) and not emulated keystrokes which would work with what's in the keymap.xml.

It's really not a problem to add a bunch of actions like KeyUp, KeyDown, etc. which would send the emulated key pressed to XBMC but you can use EventGhost's built in actions for that.

Maybe I can do just a few like KeyUp, KeyDown, KeyLeft, KeyRight, and KeySelect so those can work contextually if people choose. Are there any other common keys people use that change based on what part of XBMC they are using?
kirs
Plugin Developer
 
Posts: 23
Joined: Tue Sep 30, 2008 4:15 pm

Re: XBMC

Postby kricker » Mon Oct 13, 2008 3:11 pm

So as an EventClient, what does XBMC see the input as coming from? A keyboard or remote? I am trying to get the skips working in fullscreen video as listed in the keymap.xml:
Code: Select all
  <FullscreenVideo>
    <remote>
      <left>StepBack</left>
      <right>StepForward</right>
      <up>BigStepForward</up>
      <down>BigStepBack</down>
      <back>SmallStepBack</back>
      <menu>OSD</menu>
      <start>OSD</start>
      <title>CodecInfo</title>
      <info>Info</info>
      <enter>AspectRatio</enter>
      <select>AspectRatio</select>
   </remote>
    <keyboard>
      <f>FastForward</f>
      <r>Rewind</r>
      <period>StepForward</period>
      <comma>StepBack</comma>
      <backspace>SmallStepBack</backspace>
      <opensquarebracket>BigStepForward</opensquarebracket>
      <closesquarebracket>BigStepBack</closesquarebracket>
      <return>OSD</return>
      <enter>OSD</enter>
      <m>OSD</m>
      <i>Info</i>
      <o>CodecInfo</o>
      <z>AspectRatio</z>
      <t>ShowSubtitles</t>
      <l>NextSubtitle</l>     
      <left>StepBack</left>
      <right>StepForward</right>
      <up>BigStepForward</up>
      <down>BigStepBack</down>
      <escape>Fullscreen</escape>
    </keyboard>
Currently left, right, up and down do nothing while in fullscreen video.

Also, has anyone else noticed XBMC will go "idle" with input coming from an EventClient. Set your idle time really low and the screensaver to dim and just browse around the menus until the idle time is up. I usually spend a few minutes in the script menu and after minutes of not playing video or music XBMC will dim. Input form the EventClient will not undim XBMC. I'd like someone else to confirm this in order to post it to the trac.
kricker
Experienced User
 
Posts: 147
Joined: Thu Oct 12, 2006 5:49 am

Re: XBMC

Postby kirs » Mon Oct 13, 2008 4:41 pm

XBMC sees EventGhost as neither a keyboard or remote. It's sending XBMC the raw actions. So, if you look at Keymap.xml in the remote section:

Code: Select all
<left>StepBack</left>


EventGhost is sending the actual "StepBack" action rather than a "left" button press. Both methods are doable, but the way it is implemented now allows for much more control over what you can do. The downside is it does not work well for contextual actions like up, down, etc.

If we can determine a subset of commands to be sent as actual button presses that Keymap.xml will respect I am willing to add it. I just don't want to dump every key in as an action along side the actual actions because the combined list would be over 100 items long and most of the button presses would never be used.

Also, has anyone else noticed XBMC will go "idle" with input coming from an EventClient. Set your idle time really low and the screensaver to dim and just browse around the menus until the idle time is up.


The event server in XBMC is a work in progress. If you come across anything like that create a ticket. The owner of the event server code (d4rk) is pretty quick to get on issues.
kirs
Plugin Developer
 
Posts: 23
Joined: Tue Sep 30, 2008 4:15 pm

Re: XBMC

Postby kricker » Mon Oct 13, 2008 4:53 pm

Seems like the controls are going to be tricky then. I have very few buttons on my remote, and I need them all to do certain commands based on which screen/dialog I am in. It may be more configurable for me to map some commands as keystrokes and edit the keymap accordingly.

I'll make a trac for the idle thing. Can you confirm it does the same for you? What SVN are you running now?
kricker
Experienced User
 
Posts: 147
Joined: Thu Oct 12, 2006 5:49 am

Re: XBMC

Postby kirs » Mon Oct 13, 2008 8:13 pm

I am working off of R15884 right now. Having a hard time testing as I am at work and do not use a remote to test (work right out of the EventGhost UI).

Try letting the screen dim and hit a few actions. If it does not wake up it's because the XBMC event server does not recognize actions the same way it does button presses. Makes sense when considering someone at the XBMC forums said actions sent through EventGhost don't trigger XBMC sounds either.
kirs
Plugin Developer
 
Posts: 23
Joined: Tue Sep 30, 2008 4:15 pm

Re: XBMC

Postby anyo » Tue Oct 14, 2008 5:22 am

kirs wrote:.... Makes sense when considering someone at the XBMC forums said actions sent through EventGhost don't trigger XBMC sounds either.


haha after you said that I just realized that too... that there are no navigation sounds since I've been using this...
anyo
 
Posts: 5
Joined: Wed Oct 08, 2008 9:06 pm

Re: XBMC

Postby kricker » Tue Oct 14, 2008 6:54 am

I can't seem to find an action that can bring up the OSD with player controls in fullscreen video. The keyboard equivalent for what i am looking for is <m>OSD</m>.

EDIT:
I added
Code: Select all
("OSD", "Show OSD", "Show the OSD.", "osd")
to the list of defined actions and assigned it to the same button that I use for context menu and its working great.
kricker
Experienced User
 
Posts: 147
Joined: Thu Oct 12, 2006 5:49 am

Re: XBMC

Postby kirs » Tue Oct 14, 2008 1:49 pm

I've added the OSD action to the plugin in SVN. Thanks kricker.
kirs
Plugin Developer
 
Posts: 23
Joined: Tue Sep 30, 2008 4:15 pm

Re: XBMC

Postby dandirk » Thu Oct 30, 2008 6:52 pm

ok new xbmc user... using a USB-UIRT and MX-810 remote (programed with random ir codes for each button)...

I ran into the same navigation issues using the up/down/left/rt commands... Switched to using the EG built in KB emulation, this works great, can navigate most contextual windows etc without problems.

I though have run into problems with the OnScreen keyboard within XBMC, I cannot seem to navigate and type via direction arrows and select (enter) keys. Though I can use the numbers on my remote to spell things like a cell phone would..

Enter key works on this pop up since that is how I can submit say a search...

I am using the AEON skin, using the search function in movies area...

Now I ran into this issue late last night and have not done more tests to see if I can navigate with the keyboard, but I wanted to post to see if others ran into this problem already...

When I get home to do more tests I will post the results...
dandirk
 
Posts: 2
Joined: Thu Oct 30, 2008 6:45 pm

Re: XBMC

Postby kricker » Thu Oct 30, 2008 7:04 pm

dandirk wrote:ok new xbmc user... using a USB-UIRT and MX-810 remote (programed with random ir codes for each button)...

I ran into the same navigation issues using the up/down/left/rt commands... Switched to using the EG built in KB emulation, this works great, can navigate most contextual windows etc without problems.

I though have run into problems with the OnScreen keyboard within XBMC, I cannot seem to navigate and type via direction arrows and select (enter) keys. Though I can use the numbers on my remote to spell things like a cell phone would..

Enter key works on this pop up since that is how I can submit say a search...

I am using the AEON skin, using the search function in movies area...

Now I ran into this issue late last night and have not done more tests to see if I can navigate with the keyboard, but I wanted to post to see if others ran into this problem already...

When I get home to do more tests I will post the results...
Yes using the keymapping to navigate the OSD keyboard doesn't work like that. There are posts on the XBMC forums and explanations why, which if you think about it for a bit you'll figure out why its is that way. To navigate the OSD keyboard you need for your remote to send remote codes that XBMC is looking for or EventClient codes as this plugin does. I am using this plugin's up/down/left/right commands without issue, which lets me navigate the OSD keyboard.
kricker
Experienced User
 
Posts: 147
Joined: Thu Oct 12, 2006 5:49 am

Re: XBMC

Postby dandirk » Fri Oct 31, 2008 12:36 pm

hmmm I know I was having problems with the navigation using the events... Will have to investigate further. Thanks for the reply
dandirk
 
Posts: 2
Joined: Thu Oct 30, 2008 6:45 pm

Re: XBMC

Postby moby » Fri Oct 31, 2008 6:33 pm

Another couple of actions that I find useful for direct access to the Movies & TV Shows screens without going through the Videos screen:

Code: Select all
("MyMovies", "Show Movies Screen", "Show Movies screen.", "ActivateWindow(MyVideoLibrary,movietitles,return)"),
("MyTVShows", "Show TV Shows Screen", "Show TV Shows screen.", "ActivateWindow(MyVideoLibrary,tvshowtitles,return)"),
moby
 
Posts: 1
Joined: Fri Oct 31, 2008 5:36 pm

PreviousNext

Return to Plugin Support

Who is online

Users browsing this forum: No registered users and 1 guest