MPlayer/LIRC
Be sure, you have compiled MPlayer with LIRC support. This can be done by setting the USE flag lirc.
For a list of all commands that can be used with LIRC and mplayer, run mplayer -input cmdlist, you will get a list that contains commands and appropriate value format descriptors:
| Code: MPlayer input commands (incomplete) |
seek Float [Integer] audio_delay Float speed_incr Float speed_mult Float speed_set Float quit [Integer] pause [...] |
This commands listed here can be used in the config = <command> lines!
We need to configure ~/.lircrc, here an example:
| File: ~/.lircrc |
begin
button = Up
prog = mplayer
config = volume 1
repeat = 1
end
begin
button = Down
prog = mplayer
config = volume -1
repeat = 1
end
begin
button = Circle
prog = mplayer
config = pause
end
begin
button = Cross
prog = mplayer
config = quit 0
end
begin
button = Right
prog = mplayer
config = pt_step 1
repeat = 0
end
begin
button = Left
prog = mplayer
config = pt_step -1
repeat = 0
end
begin
button = Square
prog = mplayer
config = mute
end
|
Last modified: Wed, 20 Aug 2008 07:46:00 +1000 Hits: 3,277
Created by NickStallman.net, Luxury Homes Australia
Real estate agents should be using interactive floor plans and list their apartments, townhouses and units.
