LinHES Forums
http://forums.linhes.org/

Remote not working after starting MPlayer
http://forums.linhes.org/viewtopic.php?f=17&t=5424
Page 1 of 1

Author:  kwyjibo [ Wed Jul 20, 2005 2:10 pm ]
Post subject:  Remote not working after starting MPlayer

When I want to watch videos, it looks like my remote is locked. I can't use the remote again until the video has finished.

So i ssh'ed into my mythtv box and tried to start mplayer from there:
Quote:
mythtv@mythtvbox:~$ mplayer /myth/video/somevideo.mpg
MPlayer 1.0pre6-3.3.5 (C) 2000-2004 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Northwood (Family: 8, Stepping: 4)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.


Failed to open /dev/rtc: Permission denied (it should be readable by the user.)
Setting up LIRC support...
Playing /myth/video/somevideo.mpg.



anybody came across this?

Author:  g8ecj [ Thu Jul 21, 2005 8:10 pm ]
Post subject: 

Do you have a whole bunch of buttons defined for mplayer in your lircrc file?

Because as far as lirc is concerned its no longer mythtv thats running but mplayer, you need a bunch of extra sections that look like

Code:
begin
     button = VOL+
     prog = mplayer
     config = volume 1
     repeat = 1
end
begin
     button = VOL-
     prog = mplayer
     config = volume -1
     repeat = 1
end


Note the prog line says mplayer? A quick google will find loads of example files and the mplayer docs have all the config strings you'll need. You just have to match up the button definition from your lircd.conf file to the config values that mplayer expects.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/