You are not logged in.

#1 2007-03-26 14:53:27

root_tux_linux
Member
From: Basel, Switzerland
Registered: 2005-01-01
Posts: 53
Website

Xine + Lirc

Hi

I have a problem with xine and lirc...

lirc works fine with mythtv and mplayer but not with xine sad


HELP smile


Arch Linux Voodoo 0.8
xine-lib 1.1.4-2
xine-ui 0.99.4-3
lirc 0.8.1-2

my .lircrc

begin
    prog = mythtv
    button = TV
    config = !
end

begin
    prog = mythtv
    button = Music
    config = $
end

begin
    prog = mythtv
    button = Pictures
    config = %
end

begin
    prog = mythtv
    button = Videos
    config = ^
end

begin
    prog = mythtv
    button = RecTV
    config = (
end

begin
    prog = mythtv
    button = Guide
    config = &
end

begin
    prog = mythtv
    button = LiveTV
    config = _
end

begin
    prog = mythtv
    button = DVD
    config =  (at)
end


# Now the normal keys
begin
    prog = mythtv
    button = ChanUp
    config = Up
end

begin
    prog = mythtv
    button = ChanDown
    config = Down
end

begin
    prog = mythtv
    button = Power
    config = ALT-F4
end

begin
    prog = mythtv
    button = Home
    config = M
end

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

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

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

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

begin
    prog = mythtv
    button = OK
    config = Enter
end

begin
    prog = mythtv
    button = Zero
    config = 0
end

begin
    prog = mythtv
    button = One
    config = 1
end

begin
    prog = mythtv
    button = Two
    config = 2
end

begin
    prog = mythtv
    button = Three
    config = 3
end

begin
    prog = mythtv
    button = Four
    config = 4
end

begin
    prog = mythtv
    button = Five
    config = 5
end

begin
    prog = mythtv
    button = Six
    config = 6
end

begin
    prog = mythtv
    button = Seven
    config = 7
end

begin
    prog = mythtv
    button = Eight
    config = 8
end

begin
    prog = mythtv
    button = Nine
    config = 9
end

begin
    prog = mythtv
    button = VolUp
    repeat = 1
    config = ]
end

begin
    prog = mythtv
    button = VolDown
    repeat = 1
    config = [
end

begin
    prog = mythtv
    button = Mute
    config = |
end

begin
    prog = mythtv
    button = Pause
    config = P
end

begin
    prog = mythtv
    button = Record
    config = R
end

begin
    prog = mythtv
    button = Reverse
    config = PgUp
end

begin
    prog = mythtv
    button = Forward
    config = PgDown
end

begin
    prog = mythtv
    button = Enter
    config = C
end

begin
    prog = mythtv
    button = More
    config = I
end

begin
    prog = mythtv
    button = Back
    config = Esc
end

begin
    prog = mythtv
    button = Play
    config = Return
end

begin
    prog = mythtv
    button = Stop
    config = O
end

begin
    prog = mythtv
    button = Skip
    config = Z
end

begin
    prog = mythtv
    button = Replay
    config = Q
end

### Xine lirc setup

begin
    prog = xine
    button = Play
    config = Play
end

begin
    prog = xine
    button = Stop
    config = Stop
end

begin
    prog = xine
    button = Back
    config = Quit
end

begin
    prog = xine
    button = Pause
    config = Pause
end

begin
    prog = xine
    button = Up
    repeat = 3
    config = EventUp
end

begin
    prog = xine
    button = Down
    repeat = 3
    config = EventDown
end

begin
    prog = xine
    button = Left
    repeat = 3
    config = EventLeft
end

begin
    prog = xine
    button = Right
    repeat = 3
    config = EventRight
end

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

begin
    prog = xine
    button = Guide
    config = Menu
end

begin
    prog = xine
    button = Home
    config = Menu
end

begin
    prog = xine
    button = Forward
    repeat = 2
    config = SeekRelative+60
end

begin
    prog = xine
    button = Reverse
    repeat = 2
    config = SeekRelative-60
end

begin
    prog = xine
    button = Skip
    repeat = 2
    config = SeekRelative+15
end

begin
    prog = xine
    button = Replay
    repeat = 2
    config = SeekRelative-15
end

begin
    prog = xine
    button = VolUp
    repeat = 1
    config = Volume+
end

begin
    prog = xine
    button = VolDown
    repeat = 1
    config = Volume-
end

begin
    prog = xine
    button = Mute
    config = Mute
end

begin
    prog = xine
    button = DVD
    config = RootMenu
end

begin
    prog = xine
    button = ChanUp
    config = EventNext
end

begin
    prog = xine
    button = ChanDown
    config = EventPrior
end

begin
    prog = xine
    button = Home
    config = OSDStreamInfos
end


### MPlayer lirc setup

# Show OSD
begin
    prog = mplayer
    button = Guide
    config = osd
end

begin
    prog = mplayer
    button = Home
    config = osd
end

# Pause playback
begin
    prog = mplayer
    button = Pause
    config = pause
end

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

# Stop playback and exit
begin
    prog = mplayer
    button = Back
    config = quit
end

# Mute
begin
    prog = mplayer
    button = Mute
    config = mute
end

# Seek back 10 seconds
begin
    prog = mplayer
    button = Left
    repeat = 1
    config = seek -10
end

# Seek forward 30 seconds
begin
    prog = mplayer
    button = Right
    repeat = 1
    config = seek +30
end

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

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

begin
    prog = mplayer
    button = VolUp
    repeat = 1
    config = volume +1
end

begin
    prog = mplayer
    button = VolDown
    repeat = 1
    config = volume -1
end

#### Power off ####

begin
    prog = irexec
    button = Power
    repeat = 3
    config = /usr/local/bin/poweroff-mythtv.sh
end

Offline

#2 2007-03-26 15:26:11

root_tux_linux
Member
From: Basel, Switzerland
Registered: 2005-01-01
Posts: 53
Website

Re: Xine + Lirc

--enable-lirc <--------- PKGBUILD and it works ^^

Offline

Board footer

Powered by FluxBB