LinHES Forums
http://forum.linhes.org/

xine navigating dvd menus
http://forum.linhes.org/viewtopic.php?f=11&t=10223
Page 1 of 1

Author:  mdepot [ Sat May 27, 2006 9:12 am ]
Post subject:  xine navigating dvd menus

I used the built in "Burn DVD" option to create a dvd. (The one under "Optical Disks", not under the "Knoppmyth" menu.) When I created it I added 4 half hour shows. I got through that part fine and it created a DVD. Now I'm using the "Play DVD" option under Optical Disks to play it. Xine fires up and shows me the DVD menu with thumbmnails of the 4 shows on it. So far so good.

Now what keys do I use to navigate the dvd menu, make a selection, and play it? I can do it with a mouse, but since I use a small wireless keyboard as a "remote", it would be nice to be able to do this from the keyboard.

Thx

Author:  afrosheen [ Tue May 30, 2006 11:37 am ]
Post subject: 

You should get familiarized with Xine's keymapping by running the following command:

Code:
xine --keymap >> keys.txt


That will create a map file called keys.txt in the current directory. Next you can nano the file and find out what's mapped to what. You may have to do some mappings/remappings to add the functionality you want. Personally I have all 4 directions (up down left right) mapped to my remote since some DVD menus use all 4.

Author:  infinitenothing [ Wed May 31, 2006 3:31 pm ]
Post subject: 

Do you know of anyway to go backwards (keys.txt to xine map)

Author:  afrosheen [ Wed May 31, 2006 3:40 pm ]
Post subject: 

I'm not sure I'm understanding you. You wanted the mappings so you'd know what keys to hit. The file output from the command I mentioned tells you every single key and what it tells Xine to do. Therefore you should be armed with the knowledge you need to navigate Xine's DVD menus from that keys.txt file.

It'd be easier for you if you have a remote and put Xine's DVD stuff in /home/mythtv/.mythtv/lircrc. I have all the Xine stuff I need mapped to buttons on my remote including DVD navigation.

Author:  infinitenothing [ Wed May 31, 2006 5:20 pm ]
Post subject: 

afrosheen wrote:
I'm not sure I'm understanding you. You wanted the mappings so you'd know what keys to hit. The file output from the command I mentioned tells you every single key and what it tells Xine to do. Therefore you should be armed with the knowledge you need to navigate Xine's DVD menus from that keys.txt file.

It'd be easier for you if you have a remote and put Xine's DVD stuff in /home/mythtv/.mythtv/lircrc. I have all the Xine stuff I need mapped to buttons on my remote including DVD navigation.


Yeah. I just find the Xine key map editor cumbersome and I'd rather do it with a text file.

Author:  afrosheen [ Wed May 31, 2006 6:32 pm ]
Post subject: 

Ok, so now you want to *edit* the Xine keys. I'm really confused.

Author:  manicmike [ Mon Jun 19, 2006 10:58 pm ]
Post subject: 

infinitenothing wrote:
Yeah. I just find the Xine key map editor cumbersome and I'd rather do it with a text file.


This is easy. Edit the ~/.xine/keymap text file. If you don't have one, simply create one using "xine --keymap > ~/.xine/keymap".

Make sure you don't duplicate any keys. I made sure by setting everything to "key = VOID" and "modifier = none" first. If you screw it up, you can get the default back by deleting the file.

Cheers

Mike

Author:  tophee [ Tue Jun 20, 2006 2:00 am ]
Post subject: 

Sorry to add a slight hijack to this... though it's more of an addendum:
Afrosheen wrote:
Quote:
Code:
xine --keymap >> keys.txt


Does this work for everything?

For example would the same be true for

mplayer with

Code:
mplayer --keymap >> keys.txt
?

Ta

Author:  manicmike [ Tue Jun 20, 2006 3:33 am ]
Post subject: 

tophee wrote:
Sorry to add a slight hijack to this... though it's more of an addendum:
Afrosheen wrote:
Quote:
Code:
xine --keymap >> keys.txt


Does this work for everything?

For example would the same be true for

mplayer with

Code:
mplayer --keymap >> keys.txt
?

Ta


I have to ask why don't you try it yourself or look at the man page (man mplayer)?

Try "mplayer -input keylist" for keys that can be configured. The keymapping is in ~/.mplayer/input.conf and there are a heap of examples at the mplayer home page (mplayerhq.hu).

mplayer is not as simple to re-configure in my experience.

Mike

Author:  infinitenothing [ Tue Jun 20, 2006 8:40 am ]
Post subject: 

manicmike wrote:
infinitenothing wrote:
Yeah. I just find the Xine key map editor cumbersome and I'd rather do it with a text file.


This is easy. Edit the ~/.xine/keymap text file. If you don't have one, simply create one using "xine --keymap > ~/.xine/keymap".

Make sure you don't duplicate any keys. I made sure by setting everything to "key = VOID" and "modifier = none" first. If you screw it up, you can get the default back by deleting the file.

Cheers

Mike


Thanks Mike.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/