BreadCrumbs: Lirc

Lirc

From Luke Jackson

(Difference between revisions)
Jump to: navigation, search

Revision as of 22:41, 14 November 2007

Lircrc File

#--------------------------------------------------
# File: /etc/lircrc (This works with the '''Hauppage 350 grey remote''')
#--------------------------------------------------

#--------------------------------------------------
# irexec
#--------------------------------------------------

begin
	button = Ch+
	prog = irexec
	config = python /path/to/ivtv-channel.py up
end
begin
	button = Ch-
	prog = irexec
	config = python /path/to/ivtv-channel.py down
end
begin
 	button = OK
 	prog = irexec
	config = python /path/to/ivtv-channel.py enter
end
begin
 	button = Prev.Ch
 	prog = irexec
	config = python /path/to/ivtv-channel.py last
end
begin
 	button = 0
	prog = irexec
	config = ivtv-tune -c 0
end
begin
 	button = 1
	prog = irexec
	config = ivtv-tune -c 1
end
begin
 	button = 2
	prog = irexec
	config = ivtv-tune -c 2
end
begin
	button = 3
	prog = irexec
	config = ivtv-tune -c 3
end
begin
 	button = 4
	prog = irexec
	config = ivtv-tune -c 4
end
begin
 	button = 5
	prog = irexec
	config = ivtv-tune -c 5
end
begin
 	button = 6
	prog = irexec
      	config = ivtv-tune -c 6
end
begin
 	button = 7
	prog = irexec
	config = ivtv-tune -c 7
end
begin
 	button = 8
	prog = irexec
	config = /usr/bin/ivtv-tune -c 46 
end
begin
 	button = 9
	prog = irexec
	config = ivtv-tune -c 9
end
begin
	button = Red
	prog = irexec
      	config = killall -9 mplayer
end
begin
	button = Green
	prog = irexec
      	config = vlc "https://mp3.thatshawt.com/Soundtracks/(2002)%20-%20Super%20Troopers/Bubbles%20-%2009%20-%20Bidibodi%20Bidibu.mp3"
end
begin
	button = Yellow
	prog = irexec
	config = mplayer "/storage/TV/Family\ Guy/Season\ 6/Family\ Guy\ -\ Season\ 6\ \(Episode\ 04\).avi" &
end
begin
	button = Blue
	prog = irexec
	config = mplayer /dev/video0 & 
end

#--------------------------------------------------
# mplayer
#--------------------------------------------------

begin
	prog = mplayer
	button = Menu/i
	repeat = 3
	config = osd
end
begin
	button = Vol+
	prog = mplayer
	config = volume +1
	repeat = 1
end
begin
	button = Vol-
	prog = mplayer
	config = volume -1
	repeat = 1
end
begin
	prog = mplayer
	button = Pause
	repeat = 3
	config = pause
end
begin
	prog = mplayer
	button = Play
	repeat = 3
	config = seek +1
end
begin
	prog = mplayer
	button = Stop
	repeat = 3
	config = quit
end
begin
	prog = mplayer
	button = Mute
	repeat = 3
	config = mute
end
begin
	prog = mplayer
	button = Forward
	repeat = 3
	config = seek +10
end
begin
	prog = mplayer
	button = Rewind
	repeat = 3
	config = seek -10
end
begin
	prog = mplayer
	button = SkipForward
	repeat = 3
	config = seek +30
end
begin
	prog = mplayer
	button = Replay/SkipBackward
	repeat = 3
	config = seek -30
end
begin
	prog = mplayer
	button = TV
	repeat = 3
	config = vo_fullscreen
end
begin
	prog = mplayer
	button = Back/Exit
	repeat = 3
	config = quit
end

#--------------------------------------------------
# vlc
#--------------------------------------------------

begin
	prog = vlc
	button = Play
	config = key-play
	repeat = 3
end
begin
	prog = vlc
	button = Pause
	config = key-pause
	repeat = 3
end
begin
	prog = vlc
	button = Stop
	config = key-stop
	repeat = 3
end
begin
	prog = vlc
	button = Back/Exit
	config = key-quit
	repeat = 3
end
begin
	prog = vlc
	button = Ch+
	config = key-next
	repeat = 3
end
begin
	prog = vlc
	button = Ch-
	config = key-prev
	repeat = 3
end
begin
	prog = vlc
	button = TV
	config = key-fullscreen
	repeat = 3
end
begin
	prog = vlc
	button = Rewind
	config = key-slower
	repeat = 3
end
begin
	prog = vlc
	button = Forward
	config = key-faster
	repeat = 3
end
begin
	prog = vlc
	button = Vol-
	config = key-vol-down
	repeat = 0
end
begin
	prog = vlc
	button = Vol+
	config = key-vol-up
	repeat = 0
end
begin
	prog = vlc
	button = Mute
	config = key-vol-mute
	repeat = 3
end
begin
	prog = vlc
	button = Left
	config = key-nav-left
end
begin
	prog = vlc
	button = Down
	config = key-nav-down
end
begin
	prog = vlc
	button = Up
	config = key-nav-up
end
begin
	prog = vlc
	button = Right
	config = key-nav-right
end
begin
	prog = vlc
	button = Guide
	config = key-nav-activate
end
begin
	prog = vlc
	button = Menu/i
	config = key-disc-menu
end
begin
	prog = vlc
	button = Radio
	config = key-audio-track
end
Personal tools