It is currently Mon Sep 06, 2010 9:00 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 170 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 12  Next
Author Message
 Post subject: Re: XBMC
PostPosted: Thu Oct 09, 2008 7:43 pm 
Experienced User

Joined: Thu Oct 12, 2006 6:49 am
Posts: 133
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.


Top
 Profile  
 
 Post subject: Re: XBMC
PostPosted: Thu Oct 09, 2008 11:04 pm 

Joined: Wed Oct 08, 2008 10:06 pm
Posts: 5
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!


Top
 Profile  
 
 Post subject: Re: XBMC
PostPosted: Sun Oct 12, 2008 5:54 am 

Joined: Wed Oct 08, 2008 10:06 pm
Posts: 5
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!


Top
 Profile  
 
 Post subject: Re: XBMC
PostPosted: Mon Oct 13, 2008 11:47 am 
Plugin Developer

Joined: Tue Sep 30, 2008 5:15 pm
Posts: 23
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?


Top
 Profile  
 
 Post subject: Re: XBMC
PostPosted: Mon Oct 13, 2008 4:11 pm 
Experienced User

Joined: Thu Oct 12, 2006 6:49 am
Posts: 133
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:
  <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.


Top
 Profile  
 
 Post subject: Re: XBMC
PostPosted: Mon Oct 13, 2008 5:41 pm 
Plugin Developer

Joined: Tue Sep 30, 2008 5:15 pm
Posts: 23
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:
<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.

Quote:
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.


Top
 Profile  
 
 Post subject: Re: XBMC
PostPosted: Mon Oct 13, 2008 5:53 pm 
Experienced User

Joined: Thu Oct 12, 2006 6:49 am
Posts: 133
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?


Top
 Profile  
 
 Post subject: Re: XBMC
PostPosted: Mon Oct 13, 2008 9:13 pm 
Plugin Developer

Joined: Tue Sep 30, 2008 5:15 pm
Posts: 23
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.


Top
 Profile  
 
 Post subject: Re: XBMC
PostPosted: Tue Oct 14, 2008 6:22 am 

Joined: Wed Oct 08, 2008 10:06 pm
Posts: 5
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...


Top
 Profile  
 
 Post subject: Re: XBMC
PostPosted: Tue Oct 14, 2008 7:54 am 
Experienced User

Joined: Thu Oct 12, 2006 6:49 am
Posts: 133
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:
("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.


Top
 Profile  
 
 Post subject: Re: XBMC
PostPosted: Tue Oct 14, 2008 2:49 pm 
Plugin Developer

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


Top
 Profile  
 
 Post subject: Re: XBMC
PostPosted: Thu Oct 30, 2008 7:52 pm 

Joined: Thu Oct 30, 2008 7:45 pm
Posts: 2
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...


Top
 Profile  
 
 Post subject: Re: XBMC
PostPosted: Thu Oct 30, 2008 8:04 pm 
Experienced User

Joined: Thu Oct 12, 2006 6:49 am
Posts: 133
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.


Top
 Profile  
 
 Post subject: Re: XBMC
PostPosted: Fri Oct 31, 2008 1:36 pm 

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


Top
 Profile  
 
 Post subject: Re: XBMC
PostPosted: Fri Oct 31, 2008 7:33 pm 

Joined: Fri Oct 31, 2008 6:36 pm
Posts: 1
Another couple of actions that I find useful for direct access to the Movies & TV Shows screens without going through the Videos screen:

Code:
("MyMovies", "Show Movies Screen", "Show Movies screen.", "ActivateWindow(MyVideoLibrary,movietitles,return)"),
("MyTVShows", "Show TV Shows Screen", "Show TV Shows screen.", "ActivateWindow(MyVideoLibrary,tvshowtitles,return)"),


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 170 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 12  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group