Page 3 of 15
Re: XBMC
Posted: Thu Oct 09, 2008 6:43 pm
by kricker
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.
Re: XBMC
Posted: Thu Oct 09, 2008 10:04 pm
by anyo
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!
Re: XBMC
Posted: Sun Oct 12, 2008 4:54 am
by anyo
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!
Re: XBMC
Posted: Mon Oct 13, 2008 10:47 am
by kirs
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?
Re: XBMC
Posted: Mon Oct 13, 2008 3:11 pm
by kricker
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.
Re: XBMC
Posted: Mon Oct 13, 2008 4:41 pm
by kirs
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:
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.
Re: XBMC
Posted: Mon Oct 13, 2008 4:53 pm
by kricker
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?
Re: XBMC
Posted: Mon Oct 13, 2008 8:13 pm
by kirs
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.
Re: XBMC
Posted: Tue Oct 14, 2008 5:22 am
by anyo
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...
Re: XBMC
Posted: Tue Oct 14, 2008 6:54 am
by kricker
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.
Re: XBMC
Posted: Tue Oct 14, 2008 1:49 pm
by kirs
I've added the OSD action to the plugin in SVN. Thanks kricker.
Re: XBMC
Posted: Thu Oct 30, 2008 6:52 pm
by dandirk
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...
Re: XBMC
Posted: Thu Oct 30, 2008 7:04 pm
by kricker
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.
Re: XBMC
Posted: Fri Oct 31, 2008 12:36 pm
by dandirk
hmmm I know I was having problems with the navigation using the events... Will have to investigate further. Thanks for the reply
Re: XBMC
Posted: Fri Oct 31, 2008 6:33 pm
by moby
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)"),