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

Navigating in DVD menu with Xine
http://forum.linhes.org/viewtopic.php?f=11&t=7537
Page 1 of 1

Author:  kenne [ Tue Dec 27, 2005 2:25 am ]
Post subject:  Navigating in DVD menu with Xine

Hi,

I'm using Xine as DVD playback to make DVD menus work. And the menus work fine - but how do I navigate the menu?

I'm using a keyboard.

Thanks.

Author:  nigelpearson [ Tue Dec 27, 2005 6:17 am ]
Post subject: 

I think the default kepmap uses the numeric keypad. Arrows (i.e. 2, 4, 6 and 8 ) and Enter to play.

Here is my ~mythtv/.xine/keymap which uses similar keys to that which MythTV uses:
Code:
nigel@mythtv-server:/home/mythtv/.xine$ cat keymap
##
# xine key bindings.
# Automatically generated by xine-ui version 0.99.1.
##

# start playback
Play {
        key = VOID
        modifier = none
}

# playback pause toggle
Pause {
        key = p
        modifier = none
}

# stop playback
Stop {
        key = S
        modifier = none
}

# take a snapshot
Snapshot {
        key = VOID
        modifier = none
}

# eject the current medium
Eject {
        key = VOID
        modifier = none
}

# select and play next MRL in the playlist
NextMrl {
        key = Next
        modifier = none
}

# select and play previous MRL in the playlist
PriorMrl {
        key = Prior
        modifier = none
}

# loop mode toggle
ToggleLoopMode {
        key = l
        modifier = none
}

# stop playback after played stream
PlaylistStop {
        key = l
        modifier = control
}

# scan playlist to grab stream infos
ScanPlaylistInfo {
        key = s
        modifier = control
}

# add a mediamark from current playback
AddMediamark {
        key = a
        modifier = control
}

# edit selected mediamark
MediamarkEditor {
        key = e
        modifier = control
}

# set position to -60 seconds in current stream
SeekRelative-60 {
        key = Up
        modifier = meta
}

# set position to +60 seconds in current stream
SeekRelative+60 {
        key = Down
        modifier = meta
}

# set position to -30 seconds in current stream
SeekRelative-30 {
        key = comma
        modifier = none
}

# set position to +30 seconds in current stream
SeekRelative+30 {
        key = period
        modifier = none
}

# set position to -15 seconds in current stream
SeekRelative-15 {
        key = Left
        modifier = control
}

# set position to +15 seconds in current stream
SeekRelative+15 {
        key = Right
        modifier = control
}

# set position to -7 seconds in current stream
SeekRelative-7 {
        key = Left
        modifier = mod3
}

# set position to +7 seconds in current stream
SeekRelative+7 {
        key = Right
        modifier = mod3
}

# set position to beginning of current stream
SetPosition0% {
        key = 0
        modifier = none
}

# set position to 10% of current stream
SetPosition10% {
        key = 1
        modifier = none
}

# set position to 20% of current stream
SetPosition20% {
        key = 2
        modifier = none
}

# set position to 30% of current stream
SetPosition30% {
        key = 3
        modifier = none
}

# set position to 40% of current stream
SetPosition40% {
        key = 4
        modifier = none
}

# set position to 50% of current stream
SetPosition50% {
        key = 5
        modifier = none
}

# set position to 60% of current stream
SetPosition60% {
        key = 6
        modifier = none
}

# set position to 70% of current stream
SetPosition70% {
        key = 7
        modifier = none
}

# set position to 80% of current stream
SetPosition80% {
        key = 8
        modifier = none
}

# set position to 90% of current stream
SetPosition90% {
        key = 9
        modifier = none
}

# increment playback speed
SpeedFaster {
        key = bracketright
        modifier = none
}

# decrement playback speed
SpeedSlower {
        key = bracketleft
        modifier = none
}

# reset playback speed
SpeedReset {
        key = VOID
        modifier = none
}

# increment audio volume
Volume+ {
        key = V
        modifier = none
}

# decrement audio volume
Volume- {
        key = v
        modifier = none
}

# increment amplification level
Amp+ {
        key = V
        modifier = control
}

# decrement amplification level
Amp- {
        key = v
        modifier = control
}

# reset amplification to default value
ResetAmp {
        key = A
        modifier = control
}

# audio muting toggle
Mute {
        key = /
        modifier = control
}

# select next audio channel
AudioChannelNext {
        key = VOID
        modifier = none
}

# select previous audio channel
AudioChannelPrior {
        key = VOID
        modifier = none
}

# select next sub picture (subtitle) channel
SpuNext {
        key = plus
        modifier = none
}

# select previous sub picture (subtitle) channel
SpuPrior {
        key = minus
        modifier = none
}

# interlaced mode toggle
ToggleInterleave {
        key = t
        modifier = none
}

# cycle aspect ratio values
ToggleAspectRatio {
        key = a
        modifier = none
}

# reduce the output window size by factor 1.2
WindowReduce {
        key = less
        modifier = none
}

# enlarge the output window size by factor 1.2
WindowEnlarge {
        key = greater
        modifier = none
}

# set video output window to 50%
Window50 {
        key = 1
        modifier = meta
}

# set video output window to 100%
Window100 {
        key = 2
        modifier = meta
}

# set video output window to 200%
Window200 {
        key = 3
        modifier = meta
}

# zoom in
ZoomIn {
        key = z
        modifier = none
}

# zoom out
ZoomOut {
        key = Z
        modifier = none
}

# zoom in horizontally
ZoomInX {
        key = z
        modifier = control
}

# zoom out horizontally
ZoomOutX {
        key = Z
        modifier = control
}

# zoom in vertically
ZoomInY {
        key = z
        modifier = meta
}

# zoom out vertically
ZoomOutY {
        key = Z
        modifier = meta
}

# reset zooming
ZoomReset {
        key = z
        modifier = control, meta
}

# resize output window to stream size
Zoom1:1 {
        key = s
        modifier = none
}

# fullscreen toggle
ToggleFullscreen {
        key = f
        modifier = none
}

# Xinerama fullscreen toggle
ToggleXineramaFullscr {
        key = F
        modifier = none
}

# jump to media Menu
Menu {
        key = m
        modifier = none
}

# jump to Title Menu
TitleMenu {
        key = VOID
        modifier = none
}

# jump to Root Menu
RootMenu {
        key = VOID
        modifier = none
}

# jump to Subpicture Menu
SubpictureMenu {
        key = F3
        modifier = none
}

# jump to Audio Menu
AudioMenu {
        key = F4
        modifier = none
}

# jump to Angle Menu
AngleMenu {
        key = F5
        modifier = none
}

# jump to Part Menu
PartMenu {
        key = F6
        modifier = none
}

# menu navigate up
EventUp {
        key = Up
        modifier = none
}

# menu navigate down
EventDown {
        key = Down
        modifier = none
}

# menu navigate left
EventLeft {
        key = Left
        modifier = none
}

# menu navigate right
EventRight {
        key = Right
        modifier = none
}

# menu select
EventSelect {
        key = Return
        modifier = none
}

# jump to next chapter
EventNext {
        key = End
        modifier = none
}

# jump to previous chapter
EventPrior {
        key = Home
        modifier = none
}

# select next angle
EventAngleNext {
        key = KP_Home
        modifier = none
}

# select previous angle
EventAnglePrior {
        key = KP_End
        modifier = none
}

# visibility toggle of help window
HelpShow {
        key = F1
        modifier = none
}

# visibility toggle of video post effect window
VPProcessShow {
        key = P
        modifier = meta
}

# toggle post effect usage
VPProcessEnable {
        key = P
        modifier = control, meta
}

# visibility toggle of output window
ToggleWindowVisibility {
        key = h
        modifier = none
}

# visibility toggle of UI windows
ToggleVisiblity {
        key = g
        modifier = none
}

# visibility toggle of control window
ControlShow {
        key = c
        modifier = meta
}

# visibility toggle of mrl browser window
MrlBrowser {
        key = m
        modifier = meta
}

# visibility toggle of playlist editor window
PlaylistEditor {
        key = p
        modifier = meta
}

# visibility toggle of the setup window
SetupShow {
        key = s
        modifier = meta
}

# visibility toggle of the event sender window
EventSenderShow {
        key = e
        modifier = meta
}

# visibility toggle of analog TV window
TVAnalogShow {
        key = t
        modifier = meta
}

# visibility toggle of log viewer
ViewlogShow {
        key = l
        modifier = meta
}

# visibility toggle of stream info window
StreamInfosShow {
        key = i
        modifier = meta
}

# display stream information using OSD
OSDStreamInfos {
        key = i
        modifier = none
}

# enter key binding editor
KeyBindingEditor {
        key = k
        modifier = meta
}

# open file selector
FileSelector {
        key = o
        modifier = control
}

# select a subtitle file
SubSelector {
        key = S
        modifier = control
}

# download a skin from the skin server
SkinDownload {
        key = d
        modifier = control
}

# display MRL/Ident toggle
MrlIdentToggle {
        key = t
        modifier = control
}

# grab pointer toggle
GrabPointer {
        key = Insert
        modifier = none
}

# enter the number 0
Number0 {
        key = 0
        modifier = control
}

# enter the number 1
Number1 {
        key = 1
        modifier = control
}

# enter the number 2
Number2 {
        key = 2
        modifier = control
}

# enter the number 3
Number3 {
        key = 3
        modifier = control
}

# enter the number 4
Number4 {
        key = 4
        modifier = control
}

# enter the number 5
Number5 {
        key = 5
        modifier = control
}

# enter the number 6
Number6 {
        key = 6
        modifier = control
}

# enter the number 7
Number7 {
        key = 7
        modifier = control
}

# enter the number 8
Number8 {
        key = 8
        modifier = control
}

# enter the number 9
Number9 {
        key = 9
        modifier = control
}

# add 10 to the next entered number
Number10add {
        key = VOID
        modifier = none
}

# set position in current stream to numeric percentage
SetPosition% {
        key = VOID
        modifier = none
}

# set position forward by numeric argument in current stream
SeekRelative+ {
        key = VOID
        modifier = none
}

# set position back by numeric argument in current stream
SeekRelative- {
        key = VOID
        modifier = none
}

# change audio video syncing (delay video)
AudioVideoDecay+ {
        key = VOID
        modifier = none
}

# change audio video syncing (delay audio)
AudioVideoDecay- {
        key = VOID
        modifier = none
}

# reset audio video syncing offset
AudioVideoDecayReset {
        key = VOID
        modifier = none
}

# change subtitle syncing (delay video)
SpuVideoDecay+ {
        key = VOID
        modifier = none
}

# change subtitle syncing (delay subtitles)
SpuVideoDecay- {
        key = VOID
        modifier = none
}

# reset subtitle syncing offset
SpuVideoDecayReset {
        key = VOID
        modifier = none
}

# toggle TV modes (on the DXR3)
ToggleTVmode {
        key = o
        modifier = control, meta
}

# switch Monitor to DPMS standby mode
DPMSStandby {
        key = d
        modifier = none
}

# increase hue by 10
HueControl+ {
        key = VOID
        modifier = none
}

# decrease hue by 10
HueControl- {
        key = VOID
        modifier = none
}

# increase saturation by 10
SaturationControl+ {
        key = VOID
        modifier = none
}

# decrease saturation by 10
SaturationControl- {
        key = VOID
        modifier = none
}

# increase brightness by 10
BrightnessControl+ {
        key = VOID
        modifier = none
}

# decrease brightness by 10
BrightnessControl- {
        key = VOID
        modifier = none
}

# increase contrast by 10
ContrastControl+ {
        key = VOID
        modifier = none
}

# decrease contrast by 10
ContrastControl- {
        key = VOID
        modifier = none
}

# quit the program
Quit {
        key = Escape
        modifier = none
}

##
# End of xine key bindings.
##

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