[mythtv-users] Better lirc files?

Jos Hoekstra joshoekstra at gmx.net
Sun Jan 23 17:02:15 EST 2005


Hugo van der Kooij schreef:
> On Sun, 23 Jan 2005, Kevin Kuphal wrote:
> 
> 
>>Hugo van der Kooij wrote:
>>
>>
>>>>>I am looking for samples of the new grey and black one
>>>>>for the PVR-350 but am willing to take others and put them on a website
>>>>>as well.
>>>>>
>>>>>
>>>>
>>>>Jarod has shared his on wilsonet.com. You can find it at
>>>>http://wilsonet.com/mythtv/lircd-g3.conf.txt
>>>>
>>>>
>>>
>>>That is NOT the .lircrc file. That is the /etc/lircd.conf which is listed
>>>about one and a half page before the .lircrc file mentioned in the same
>>>guide.
>>>
>>>I get all the right responses when testing with irw but just a few of them
>>>with mythtv. This .lircrc sample file is using CH+ where the lircd file is
>>>generating Channel-UP for example.
>>>
>>>
>>
>>Reminder.  MythTV does not use the .lircrc file in the home directory of
>>the user that runs mythfrontend.  It uses it's own LIRC file in
>>~/.mythtv/lircrc.  Are you putting the options in the right file?  IRW
>>will by default use the ~/.lircrc and not the mythtv one which could
>>explain your differing results.
> 
> 
> irw does not care about any lircrc file. I could test irw just fine before
> I ever came to the lircrc file. irw only relies on the config for lircd
> which is done in /etc/lirc.conf
> 
> For example in my /etc/lircd.conf there is:
> 
>                 UP      0x0000000000001794
>                 LEFT    0x0000000000001F96
>                 Channel-UP      0x0000000000001FA0
>                 Channel-DOWN    0x00000000000017A1
> 
> It shows this fine when I run irw
> 
> However I tried to put the file in ~mythtv/.mythtv/lircrc besides putting
> it in ~mythtv/.lircrc and thre is some improvement.
> 
> But the way channel up/down is done is a bit odd. Up means decreasing the
> channel number in the guide but increasing the channel number when
> watching the liveTV.
> 
> And it is missing vital keys like UP and DOWN to navigate the menu so I
> would still appreciate to see better working versions.
> 
> Hugo.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
I use this one that I got from Jarod's site and made a couple of changes 
to it to use it together with xine for DVD-playback.

Place it in ~mythtv/.mythtv/lircrc and symlink to that from ~mythtv/lircrc.

Hope it helps :)

Jos Hoekstra
-------------- next part --------------
# ~/.mythtv/lircrc
#
# MythTV native LIRC config file for
# the grey Hauppauge remote
#
# By Jarod Wilson, 2003/12/21
# Amalgamated from Jeff Campbell's,
# .lircrc, the mythtv.org docs, and
# a few touches of my own. :)
# Edited by Jos Hoekstra @ 15-08-04

# Channel Up
begin
prog = mythtv
button = CH+
repeat = 3
config = Up
end

# Channel Down
begin
prog = mythtv
button = CH-
repeat = 3
config = Down
end

# OK/Select
begin
prog = mythtv
button = OK
config = Space
end

# Play
begin
prog = mythtv
button = PLAY
config = Return
end

# Stop
begin
prog = mythtv
button = STOP
config = Esc
end

# Escape/Exit/Back
begin
prog = mythtv
button = BACK/EXIT
config = Esc
end

# Power Off/Exit
begin
prog = mythtv
button = OFF
config = Esc
end

# Red means stop!
begin
prog = mythtv
button = RED
config = Esc
end

# Pause
begin
prog = mythtv
button = PAUSE
repeat = 3
config = P
end

# Mute
begin
prog = mythtv
button = MUTE
repeat = 3
config = F9
end

# Fast forward (30 sec default)
begin
prog = mythtv
button = REW
repeat = 3
config = Left
end

# Rewind (10 sec default)
begin
prog = mythtv
button = FFW
repeat = 3
config = Right
end

# Skip forward (10 min default)
begin
prog = mythtv
button = SKIP
repeat = 3
config = PgDown
end

# Skip backward (10 min default)
begin
prog = mythtv
button = REPLAY
repeat = 3
config = PgUp
end

# Record
begin
prog = mythtv
button = RECORD
repeat = 3
config = R
end

# Delete
begin
prog = mythtv
button = BLANK
repeat = 3
config = D
end

# OSD browse
begin
prog = mythtv
button = GREEN
repeat = 3
config = O
end

# Display EPG while in live TV,
# View selected show while in EPG
begin
prog = mythtv
button = MENU
repeat = 3
config = M
end

# Scroll up
begin
prog = mythtv
button = VOL+
repeat = 3
config = Right
end

# Scroll down
begin
prog = mythtv
button = VOL-
repeat = 3
config = Left
end

# Bring up OSD info
begin
prog = mythtv
button = GO
repeat = 3
config = I
end

# Change display aspect ratio
begin
prog = mythtv
button = FULL
repeat = 3
config = W
end

# Seek to previous commercial cut point
begin
prog = mythtv
button = YELLOW
repeat = 3
config = Q
end

# Seek to next commercial cut point
begin
prog = mythtv
button = BLUE
repeat = 3
config = Z
end

# Numbers 0-9

begin
prog = mythtv
button = 0
repeat = 3
config = 0
end

begin
prog = mythtv
button = 1
repeat = 3
config = 1
end

begin
prog = mythtv
button = 2
repeat = 3
config = 2
end

begin
prog = mythtv
button = 3
repeat = 3
config = 3
end

begin
prog = mythtv
button = 4
repeat = 3
config = 4
end

begin
prog = mythtv
button = 5
repeat = 3
config = 5
end

begin
prog = mythtv
button = 6
repeat = 3
config = 6
end

begin
prog = mythtv
button = 7
repeat = 3
config = 7
end

begin
prog = mythtv
button = 8
repeat = 3
config = 8
end

begin
prog = mythtv
button = 9
repeat = 3
config = 9
end


### MPlayer lirc setup

# Show OSD
begin
prog = mplayer
button = MENU
repeat = 3
config = osd
end

# Pause playback
begin
prog = mplayer
button = PAUSE
repeat = 3
config = pause
end

# Skip ahead a minute if playing
# If paused, resume playing
begin
prog = mplayer
button = PLAY
repeat = 3
config = seek +1
end

# Stop playback and exit
begin
prog = mplayer
button = STOP
repeat = 3
config = quit
end

# Mute
begin
prog = mplayer
button = MUTE
repeat = 3
config = mute
end

# Seek back 5 seconds
begin
prog = mplayer
button = VOL+
repeat = 3
config = seek +5
end

# Seek forward 5 seconds
begin
prog = mplayer
button = VOL-
repeat = 3
config = seek -5
end

# Seek back 10 seconds
begin
prog = mplayer
button = REW
repeat = 3
config = seek -10
end

# Seek forward 10 seconds
begin
prog = mplayer
button = FFW
repeat = 3
config = seek +10
end

# Quit
begin
prog = mplayer
button = BACK/EXIT
repeat = 3
config = quit
end

# Seek forward 5 minutes
begin
prog = mplayer
button = SKIP
repeat = 3
config = seek +300
end

# Seek backward 5 minutes
begin
prog = mplayer
button = REPLAY
repeat = 3
config = seek -300
end

# Toggle full-screen
begin
prog = mplayer
button = FULL
repeat = 3
config = vo_fullscreen
end

### Xine lirc setup

begin
prog = xine
button = PLAY
repeat = 3
config = Play
end

begin
prog = xine
button = STOP
repeat = 3
config = Stop
end

begin
prog = xine
button = OFF
repeat = 3
config = Quit
end

begin
prog = xine
button = PAUSE
repeat = 3
config = Pause
end

begin
prog = xine
button = CH+
repeat = 3
config = EventUp
end

begin
prog = xine
button = CH-
repeat = 3
config = EventDown
end

begin
prog = xine
button = VOL-
repeat = 3
config = EventLeft
end

begin
prog = xine
button = VOL+
repeat = 3
config = EventRight
end

begin
prog = xine
button = OK
repeat = 3
config = EventSelect
end

begin
prog = xine
button = BACK/EXIT
repeat = 3
config = Menu
end

begin
prog = xine
button = FFW
repeat = 3
config = SpeedFaster
end

begin
prog = xine
button = REW
repeat = 3
config = SpeedSlower
end

begin
prog = xine
button = FULL
repeat = 3
config = Volume+
end

begin
prog = xine
button = BLANK
repeat = 3
config = Volume-
end

begin
prog = xine
button = MUTE
repeat = 3
config = Mute
end

begin
prog = xine
button = MENU
repeat = 3
config = RootMenu
end

begin
prog = xine
button = SKIP
repeat = 3
config = EventNext
end

begin
prog = xine
button = REPLAY
repeat = 3
config = EventPrior
end

begin
prog = xine
button = GO
repeat = 3
config = OSDStreamInfos
end

begin
prog = xine
button = RED
repeat = 3
config = Quit
end

begin
prog = xine
button = RED
repeat = 3
config = Quit
end


More information about the mythtv-users mailing list