[mythtv-users] Mythtv on Xbox

Myth Lists mlists at dressler.ca
Mon Oct 31 11:45:15 EST 2005


Ben Dash wrote:

>N0rm
>
>I'm just finishing off a gentoo mythfrontend xBox and
>am running into problems with lirc for the DVD remote.
> Unfortunately I didn't have any problem with themes
>in my setup, although I had a load of problems trying
>to get 2.4.31 kernel to work before throwing in the
>towel and going for a 2.6.12.5 kernel instead.
>
>If you manage to get your DVD remote working with lirc
>please could you tell me know what you did?
>
>If you need to know anything about my setup please let
>me know,
>
>Thanks,
>
>Ben
>
>  
>
Hey Ben -- take a look a the attached lircrc -- I simply put it in the 
/home/live/.mythtv directory and it worked.

Because you are running a Gentoo, you might have to emerge lirc, which I 
assume you have done already and set up the lircd to startup at boot.  
Verify its running before you start the frontend.

Norm
-------------- next part --------------
# ~/.mythtv/lircrc
#
# MythTV native LIRC config file for
# the Microsoft DVD remote
#
# By Dennis Cartier 2004/05/01
#
# Amalgamated from Jarod Wilson's,
# Amalgamated from Jeff Campbell's,
# .lircrc, the mythtv.org docs, and
# a few touches of my own. :)
#

# Up
begin
prog = mythtv
button = UP
repeat = 4
config = Up
end

# Down
begin
prog = mythtv
button = DOWN
repeat = 4
config = Down
end

# Fast forward (30 sec default)
begin
prog = mythtv
button = RIGHT
repeat = 4
config = Right
end

# Rewind (5 sec default)
begin
prog = mythtv
button = LEFT
repeat = 4
config = Left
end

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

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

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

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

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

# Escape/Exit/Back
begin
prog = mythtv
button = BACK
repeat = 4
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 = 4
config = P
end

#~ # Mute - Xbox has no mixer !! :(
#~ begin
#~ prog = mythtv
#~ button = 
#~ repeat = 4
#~ config = F9
#~ end

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

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

# OSD browse
begin
prog = mythtv
button = MENU
repeat = 4
config = O
end

# Bring up OSD info
begin
prog = mythtv
button = INFO
repeat = 4
config = I
end

# Bring up XV picture controls
begin
prog = mythtv
button = TITLE
repeat = 4
config = F
end

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

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

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

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

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

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

# Numbers 0-9

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

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

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

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

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

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

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

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

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

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


### MPlayer lirc setup

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

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

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

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

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

# Seek back 10 seconds
begin
prog = mplayer
button = REVERSE
repeat = 4
config = seek -10
end

# Seek forward 30 seconds
begin
prog = mplayer
button = FORWARD
repeat = 4
config = seek +30
end

# Quit
begin
prog = mplayer
button = BACK
repeat = 4
config = quit
end

# Seek forward 10 minutes
begin
prog = mplayer
button = SKIP+
repeat = 4
config = seek +600
end

# Seek backward 10 minutes
begin
prog = mplayer
button = SKIP-
repeat = 4
config = seek -600
end

# Toggle full-screen
begin
prog = mplayer
button = DISPLAY
repeat = 4
config = vo_fullscreen
end

###Xine Setup

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

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

begin
prog = xine
button = BACK
repeat = 4
config = Quit
end

#~ begin
#~ prog = xine
#~ button = Red
#~ config = Quit
#~ end

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

begin
prog = xine
button = UP
repeat = 4
config = EventUp
end

begin
prog = xine
button = DOWN
repeat = 4
config = EventDown
end

begin
prog = xine
button = LEFT
repeat = 4
config = EventLeft
end

begin
prog = xine
button = RIGHT
repeat = 4
config = EventRight
end

begin
prog = xine
button = SELECT
repeat = 4
config = EventSelect
end

#~ begin
#~ prog = xine
#~ button = BACK/EXIT
#~ repeat = 4
#~ config = Quit
#~ end

begin
prog = xine
button = Menu
repeat = 4
config = Menu
end

#~ begin
#~ prog = xine
#~ button = Yellow
#~ repeat = 4
#~ config = Volume-
#~ end

#~ begin
#~ prog = xine
#~ button = Blue
#~ repeat = 4
#~ config = Volume+
#~ end

#~ begin
#~ prog = xine
#~ button = Mute
#~ repeat = 4
#~ config = Mute
#~ end

begin
prog = xine
button = 0
repeat = 4
config = Number0
end

begin
prog = xine
button = 1
repeat = 4
config = Number1
end

begin
prog = xine
button = 2
repeat = 4
config = Number2
end

begin
prog = xine
button = 3
repeat = 4
config = Number3
end

begin
prog = xine
button = 4
repeat = 4
config = Number4
end

begin
prog = xine
button = 5
repeat = 4
config = Number5
end

begin
prog = xine
button = 6
repeat = 4
config = Number6
end

begin
prog = xine
button = 7
repeat = 4
config = Number7
end

begin
prog = xine
button = 8
repeat = 4
config = Number8
end

begin
prog = xine
button = 9
repeat = 4
config = Number9
end

# Seek forward 10 minutes
begin
prog = xine
button = SKIP+
repeat = 4
config = EventNext
end

# Seek backward 10 minutes
begin
prog = xine
button = SKIP-
repeat = 4
config = EventPrior
end

begin
prog = xine
button = REVERSE
repeat = 4
config = SeekRelative-30
end

begin
prog = xine
button = FORWARD
repeat = 4
config = SeekRelative+30
end

begin
prog = xine
button = INFO
repeat = 4
config = OSDStreamInfos
end

### VLC config

begin
prog = vlc
button = PLAY
repeat = 4
config = PLAY
end

begin
prog = vlc
button = PAUSE
repeat = 4
config = PAUSE
end

begin
prog = vlc
button = STOP
repeat = 4  
config = STOP
end

begin
prog = vlc
button = BACK
repeat = 4
config = QUIT
end

begin
prog = vlc
button = SKIP+
repeat = 4
config = NEXT
end

begin
prog = vlc
button = SKIP-
repeat = 4
config = PREV
end

begin
prog = vlc
button = DISPLAY
repeat = 4
config = FULLSCREEN
end

begin
prog = vlc
button = REVERSE
repeat = 4
config = SLOW
end

begin
prog = vlc
button = FORWARD
repeat = 4
config = FAST
end

#~ begin
#~ prog = vlc
#~ button = VOLUME_DOWN_DOWN
#~ repeat = 4
#~ config = VOL_DOWN
#~ end

#~ begin
#~ prog = vlc
#~ button = VOLUME_UP_DOWN
#~ repeat = 4
#~ config = VOL_UP
#~ end


More information about the mythtv-users mailing list