[mythtv-users] Remote sends command twice

gLaNDix (Jesse Kaufman) glandix at lloydnet.org
Wed May 18 22:47:37 UTC 2005


Michael T. Dean wrote:

> Now that you made me think about it, I'm pretty sure I only have the 
> problem with the mouse cursor (as described) and with the Stop and Power 
> buttons.  I have Stop mapped as Esc and Power as Alt-Esc (using 
> irxevent), which is the key combo I use for exiting Myth
[snip]
> Only question is what makes sense for a power button...

yah, that's why i used the power button ... to me, it makes sense that 
exiting the video manager by pressing power is like 'turning off' the 
video manager ... plus, i have power mapped to xine's quit command (i'm 
using native lirc support in both xine and myth), so all across the 
board, power takes you to the place you were before unles you're on the 
main screen ... then it takes you to shutdown ...

hmm, just saw that i have duplicate entries for the power button in my 
~/.lircrc file ... normally, i'm editing it in a xterm or on the 
console, so i don't have many lines at once ... stuck in windows here @ 
work, so i copied it all into notepad and noticed my mistake ... hope 
that's the problem! :)


> Yeah, I have repeat=0 (explicitly set) on everything except volume.  Are 
> you using delay for volume?  Have you played with min_repeat at all?  If 
> so, I'd be interested in seeing your config (you can send it to me 
> offline if you like).

only have repeat=3 on the arrow buttons (i don't use audio, since i'm 
going to an external amp and use it for volume) ... haven't played w/ 
min_repeat


> Good luck.  I've got a couple of higher-priority machines that I need to 
> update before my Myth box, but I'll be in your shoes before long.

yah, i just recently split my myth box into a FE/BE combo ... backend's 
setup and running gentoo, so now it's time to redo the frontend ...

-g-

here is my ~/.lircrc (after fixing dupe entry):
##
# MythTV key bindings.
##

begin
     prog = mythtv
     button = Power
     config = Esc
end

begin
     prog = mythtv
     button = 1
     config = 1
end

begin
     prog = mythtv
     button = 2
     config = 2
end

begin
     prog = mythtv
     button = 3
     config = 3
end

begin
     prog = mythtv
     button = 4
     config = 4
end

begin
     prog = mythtv
     button = 5
     config = 5
end

begin
     prog = mythtv
     button = 6
     config = 6
end

begin
     prog = mythtv
     button = 7
     config = 7
end

begin
     prog = mythtv
     button = 8
     config = 8
end

begin
     prog = mythtv
     button = 9
     config = 9
end

begin
     prog = mythtv
     button = 0
     config = 0
end

begin
     prog = mythtv
     button = DVD_RootMenu
     config = M
end

begin
    prog = mythtv
    button = D
    config = D
end

begin
    prog = mythtv
    button = Setup
    config = I
end

begin
   prog = mythtv
   button = Vol+
   repeat = 3
   config = F10
end

begin
   prog = mythtv
   button = Vol-
   repeat = 3
   config = F11
end

begin
     prog = mythtv
     button = Ch+
# This is the "up" on the central diamond
     repeat = 3
     config = Up
end

begin
     prog = mythtv
     button = Ch-
# This is the "down" on the central diamond
     repeat = 3
     config = Down
end

begin
     prog = mythtv
     button = Arrow_Up
# This is the "left" on the central diamond
     repeat = 3
     config = Up
end

begin
     prog = mythtv
     button = Arrow_Down
# This is the "right" on the central diamond
     repeat = 3
     config = Down
end

begin
     prog = mythtv
     button = Arrow_Left
# This is the "left" on the central diamond
     repeat = 3
     config = Left
end

begin
     prog = mythtv
     button = Arrow_Right
# This is the "right" on the central diamond
     repeat = 3
     config = Right
end

begin
     prog = mythtv
# Middle button on the diamond
     button = OK
     config = Return
end

begin
     prog = mythtv
     button = Mute
     config = F9
end

begin
     prog = mythtv
     button = Prev
     config = Left
end

begin
     prog = mythtv
     button = Play
     config = P
end

begin
     prog = mythtv
     button = Next
     config = Right
end

begin
   prog = mythtv
   button = Record
   config = R
end

begin
    prog = mythtv
# Teletext
    button = Stop
    config = T
end

begin
     prog = mythtv
     button = pause
     config = P
end

begin
    prog = mythtv
    button = E
# Use for backwards commercial skip
     config = Q
end

begin
    prog = mythtv
    button = F
# Use for forward commercial skip
     config = Z
end


##
# XINE key bindings.
# Automatically generated by xine-ui version 0.99.3.
##

# start playback
begin
         button = Play
         prog   = xine
         repeat = 0
         config = Play
end

# playback pause toggle
begin
         button = Pause
         prog   = xine
         repeat = 0
         config = Pause
end

# stop playback
begin
         button = Stop
         prog   = xine
         repeat = 0
         config = Stop
end

# eject the current medium
begin
         button = Record
         prog   = xine
         repeat = 0
         config = Eject
end

# set position to -15 seconds in current stream
begin
         button = Prev
         prog   = xine
         repeat = 1
         config = SeekRelative-15
end

# set position to +15 seconds in current stream
begin
         button = Next
         prog   = xine
         repeat = 1
         config = SeekRelative+15
end

# set position to beginning of current stream
begin
         button = 0
         prog   = xine
         repeat = 0
         config = SetPosition0%
end

# set position to 10% of current stream
begin
         button = 1
         prog   = xine
         repeat = 0
         config = SetPosition10%
end

# set position to 20% of current stream
begin
         button = 2
         prog   = xine
         repeat = 0
         config = SetPosition20%
end

# set position to 30% of current stream
begin
         button = 3
         prog   = xine
         repeat = 0
         config = SetPosition30%
end

# set position to 40% of current stream
begin
         button = 4
         prog   = xine
         repeat = 0
         config = SetPosition40%
end

# set position to 50% of current stream
begin
         button = 5
         prog   = xine
         repeat = 0
         config = SetPosition50%
end

# set position to 60% of current stream
begin
         button = 6
         prog   = xine
         repeat = 0
         config = SetPosition60%
end

# set position to 70% of current stream
begin
         button = 7
         prog   = xine
         repeat = 0
         config = SetPosition70%
end

# set position to 80% of current stream
begin
         button = 8
         prog   = xine
         repeat = 0
         config = SetPosition80%
end

# set position to 90% of current stream
begin
         button = 9
         prog   = xine
         repeat = 0
         config = SetPosition90%
end

# increment playback speed
begin
         button = Vol+
         prog   = xine
         repeat = 0
         config = SpeedFaster
end

# decrement playback speed
begin
         button = Vol-
         prog   = xine
         repeat = 0
         config = SpeedSlower
end

# reset playback speed
begin
         button = Mute
         prog   = xine
         repeat = 0
         config = SpeedReset
end

# cycle aspect ratio values
begin
         button = A
         prog   = xine
         repeat = 0
         config = ToggleAspectRatio
end

# fullscreen toggle
begin
         button = Maximize
         prog   = xine
         repeat = 0
         config = ToggleFullscreen
end

# jump to media Menu
begin
         button = DVD_RootMenu
         prog   = xine
         repeat = 0
         config = Menu
end

# jump to Part Menu
begin
         button = TV_On_Demand
         prog   = xine
         repeat = 0
         config = PartMenu
end

# menu navigate up
begin
         button = Arrow_Up
         prog   = xine
         repeat = 2
         config = EventUp
end

# menu navigate down
begin
         button = Arrow_Down
         prog   = xine
         repeat = 2
         config = EventDown
end

# menu navigate left
begin
         button = Arrow_Left
         prog   = xine
         repeat = 2
         config = EventLeft
end

# menu navigate right
begin
         button = Arrow_Right
         prog   = xine
         repeat = 2
         config = EventRight
end

# menu select
begin
         button = OK
         prog   = xine
         repeat = 0
         config = EventSelect
end

# jump to next chapter
begin
         button = Ch+
         prog   = xine
         repeat = 0
         config = EventNext
end

# jump to previous chapter
begin
         button = Ch-
         prog   = xine
         repeat = 0
         config = EventPrior
end

# visibility toggle of UI windows
begin
         button = Drag
         prog   = xine
         repeat = 0
         config = ToggleVisibility
end

# visibility toggle of playlist editor window
begin
         button = Library
         prog   = xine
         repeat = 0
         config = PlaylistEditor
end

# visibility toggle of the setup window
begin
         button = Setup
         prog   = xine
         repeat = 0
         config = SetupShow
end

# visibility toggle of analog TV window
begin
         button = TV
         prog   = xine
         repeat = 0
         config = TVAnalogShow
end

# display stream information using OSD
begin
         button = Web
         prog   = xine
         repeat = 0
         config = OSDStreamInfos
end

# quit the program
begin
         button = Power
         prog   = xine
         repeat = 0
         config = Quit
end


# Retrieve playlist from DVD plugin.
begin
         button = DVD
         prog   = xine
         repeat = 0
         config = PlaylistFrom:dvd
end
begin
         button = DVD
         prog   = xine
         repeat = 0
         config = Play
end


##
# End of xine key bindings.
##


More information about the mythtv-users mailing list