Re: Mplayer + télécomma nde ...

Top Page

Reply to this message
Author: Jérôme KIEFFER
Date:  
To: guilde
Old-Topics: Re: Mplayer + télécommande ...
New-Topics: Re: Mplayer + télécommande ...
Subject: Re: Mplayer + télécomma nde ...

Cela a peut être a voir avec ~/.mplayer/input.conf ...

-- 
Jérôme         __
              / _)
     _.----._/ /    Dinosaurus
    /         /
 __/ (  | (  |     Psykorigidus
/__.-'|_|--|_|


begin
prog = irexec
button = RADIO
config = xmms&
mode = xmms
flags = once
end

begin
prog = irexec
button = TV
config = xawtv&
mode = xawtv
flags = once
end
    

begin xmms
  begin
    prog = xmms
    button = 3
    config = PLAY
  end
##  begin
#    prog = xmms
#    button = clear
##    config = PLAYLIST_CLEAR
#  end
# begin
#    prog = xmms
#    button = load
##    config = PLAYLIST_ADD .xmms/xmms.m3u
#   end
  begin
    prog = xmms
    button = 2
    config = PAUSE
  end
  begin
    prog = xmms
    button = 5
    config = STOP
  end
  begin
    prog = xmms
    button = MINIMIZE
    config = QUIT
    flags = mode
  end
  begin
    prog = xmms
    button = CH+
    config = NEXT
  end
  begin
    prog = xmms
    button = CH-
    config = PREV
  end
  begin
    prog = xmms
    button = 6
    config = FWD 3
    repeat = 2
  end
  begin
    prog = xmms
    button = 4
    config = BWD 3
    repeat = 2
  end
  begin
    prog = xmms
    button = VOL+
    config = VOL_UP 10
    repeat = 2
  end
  begin
    prog = xmms
    button = VOL-
    config = VOL_DOWN 10
    repeat = 2
  end
#  begin
#    prog = xmms
#    button = 1
#    config = ONE
#  end
#  begin
#    prog = xmms
#    button = 2
#    config = TWO
#  end
#  begin
#    prog = xmms
#    button = 3
#    config = THREE
#  end
#  begin
#    prog = xmms
##    button = 4
#    config = FOUR
#  end
#  begin
#    prog = xmms
#    button = 5
#    config = FIVE
##  end
#  begin
#    prog = xmms
#    button = 6
##    config = SIX
#  end
#  begin
#    prog = xmms
#    button = 7
##    config = SEVEN
#  end
#  begin
#    prog = xmms
##    button = 8
#    config = EIGHT
#  end
#  begin
##    prog = xmms
#    button = 9
#    config = NINE
##  end
#  begin
#    prog = xmms
#    button = 0
##    config = ZERO
#  end
#  begin
#    prog = xmms
##    button = enter
#    config = SETPOS
#  end
end xmms


begin xawtv
begin         
    prog   = xawtv
    button = CH+
    config = setstation next
end 
begin         
    prog   = xawtv         
    button = CH-         
    config = setstation prev 
end 
begin
    prog   = xawtv
    button = VOL+
    config = volume +3000
end
begin         
    prog   = xawtv
    button = VOL- 
    config = volume -3000
end
begin
    prog =xawtv
    button = FULL_SCREEN
    config = fullscreen
end



begin
    prog =xawtv
    button = 0
    config = keypad 0
end
begin
    prog = xawtv
    button = 1
    config = keypad 1
end
begin
    prog = xawtv
    button = 2
    config = keypad 2
end
begin
    prog = xawtv
    button = 3
    config = keypad 3
end
begin
    prog = xawtv
    button = 4
    config = keypad 4
end
begin
    prog = xawtv
    button = 5
    config = keypad 5
end
begin
    prog = xawtv
    button = 6
    config = keypad 6
end
begin
    prog = xawtv
    button = 7
    config = keypad 7
end
begin
    prog = xawtv
    button = 8
    config = keypad 8
end
begin
    prog = xawtv
    button = 9
    config = keypad 9
end
begin
    prog = xawtv
    button = MINIMIZE
    config = quit
end
begin
    prog = xawtv
    button = MUTE
    config = volume mute
end



end xawtv

begin mplayer_lirc
  begin
    PROG   = mplayer_lirc
    BUTTON = 2
    CONFIG = PAUSE
  end
  begin
    PROG   = mplayer_lirc
    BUTTON = 3
    CONFIG = PLAY
  end
  begin
    PROG   = mplayer_lirc
    BUTTON = 5
    CONFIG = STOP
  end
  begin
    PROG   = mplayer_lirc
    BUTTON = MINIMIZE
    CONFIG = QUIT
    FLAGS  = mode
  end
  begin
    PROG   = mplayer_lirc
    BUTTON = 6
    CONFIG = FFWD
    REPEAT = 1
  end
  begin
    PROG   = mplayer_lirc
    BUTTON = 4
    CONFIG = FBWD
    REPEAT = 1
  end


end mplayer_lirc