1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 00:42:57 +00:00
mpv/DOCS/LIRC
atmos4 9df40837ed Some corrections.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1362 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-20 10:13:17 +00:00

61 lines
1.5 KiB
Plaintext

LIRC support for MPlayer
written by Andreas Ackermann in 2/2001
contact: acki@acki-netz.de
o What is LIRC?
Linux Infrared Remote Control - use an easy to build home-brewn IR-receiver,
an (almost) arbitrary remote control and control your linux box with it!
More about it at www.lirc.org.
o MPlayer and LIRC
If you have installed the lirc-package, you can compile MPlayer with LIRC
support using ./configure --enable-lirc
If everything went fine, MPlayer will print a message like
LIRC init was successful.
on startup. If an error occurs it will tell you. If it doens't tell you
anything about LIRC there's no support compiled in. That's it :-)
The application name for MPlayer is - oh wonder - mplayer_lirc.
It understands the following commands:
PAUSE - pause playing. Any other keystroke will continue replay.
QUIT - exit mplayer
RWND - 10 secs back
FRWND - 60 secs back
FWD - skip 10 secs
FFWD - skip 60 secs
INCVOL - increase volume one percent
DECVOL - decrease volmue one percent
MASTER - use master mixer channel
PCM - use pcm mixer channel
Don't forget to enable the repeat flag for RWND/FWD in .lircrc. Here's an
excerpt from my .lircrc:
begin
remote = CU-SX070
prog = mplayer_lirc
button = Tape_Play
repeat = 1
config = FFWD
end
begin
remote = CU-SX070
prog = mplayer_lirc
button = Tape_Stop
config = QUIT
end
I you don't like the standard location for the lirc-config file (~/.lircrc)
use the -lircconf <filename> switch to specify another file.
Enjoy
-Andreas