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

Remote not Working When Watching Videos
http://forum.linhes.org/viewtopic.php?f=6&t=15472
Page 1 of 1

Author:  rmflook [ Sun Jun 03, 2007 8:13 am ]
Post subject:  Remote not Working When Watching Videos

Im having a slight problem with my remote control set up in R5F1. In mythtv for the most part my mceusb2 remote works flawlessly. However when i watch a video (using mplayer) mythtv simply refuses to do anything when i press buttons on my remote control. The lircrc file i am using was from the svn website and i have included it below. Id be very grateful for any help as if i want to pause the vid or rewind im constantly having to get up to use the keyboard.

#
# lircrc config file for the Microsoft Media Center Edition Remote, model 1039
#
# @url $URL$
# @date $Date$
# @version $Revision$
# @author $Author$
#
# This file is intended to complement the lircd.conf.mceusb file included with
# lirc 0.8 and above.
#
# Save this file in ~/.mythtv/lircrc
#
# You will also need to make a few changes to the MythTV key bindings and jump
# points as follows.
#
# Jump Points:
#
# TV Recording Playback: Alt+R
# Program Guide: Alt+G
# Live TV: Alt+P
# MythVideo -> The MythVideo default view: Alt+V
# Main Menu: Alt+Home
#
# Key Bindings:
#
# TV Playback -> CHANNELDOWN: Down,PgDown
# TV Playback -> CHANNELUP: Up,PgUp
# TV Playback -> JUMPRWND: Shift+PgUp
# TV Playback -> JUMPFFWD: Shift+PgDown
#

#
# Program Navigation
#

begin
prog = mythtv
button = Home
config = Alt+Home
end

begin
prog = mythtv
button = RecTV
config = Alt+R
end

begin
prog = mythtv
button = Guide
config = Alt+G
end

begin
prog = mythtv
button = LiveTV
config = Alt+P
end

begin
prog = mythtv
button = DVD
config = Alt+V
end

#
# Menu Navigation
#

begin
prog = mythtv
button = Back
config = Esc
end

begin
prog = mythtv
button = OK
config = Space
end

begin
prog = mythtv
button = More
config = I
end

begin
prog = mythtv
button = Left
config = Left
end

begin
prog = mythtv
button = Right
config = Right
end

begin
prog = mythtv
button = Up
config = Up
end

begin
prog = mythtv
button = Down
config = Down
end

#
# TV Control
#

begin
prog = mythtv
button = VolDown
config = F10
end

begin
prog = mythtv
button = VolUp
config = F11
end

begin
prog = mythtv
button = Mute
config = F9
end

begin
prog = mythtv
button = ChanDown
config = PgDown
end

begin
prog = mythtv
button = ChanUp
config = PgUp
end

#
# Video Navigation
#

begin
prog = mythtv
button = Play
config = P
end

begin
prog = mythtv
button = Pause
config = Space
end

begin
prog = mythtv
button = Back
config = Esc
end

begin
prog = mythtv
button = Right
config = Right
end

begin
prog = mythtv
button = Left
config = Left
end

begin
prog = mythtv
button = Replay
config = Q
end

begin
prog = mythtv
button = Skip
config = Z
end

begin
prog = mythtv
button = Record
config = R
end

#
# Miscellaneous
#

# M for Menu
begin
prog = mythtv
button = Star
config = M
end

begin
prog = mythtv
button = Hash
config = M
end

begin
prog = mythtv
button = Clear
config = Esc
end

begin
prog = mythtv
button = Enter
config = Space
end

#
# Numbers
#

begin
prog = mythtv
button = Zero
config = 0
end

begin
prog = mythtv
button = One
config = 1
end

begin
prog = mythtv
button = Two
config = 2
end

begin
prog = mythtv
button = Three
config = 3
end

begin
prog = mythtv
button = Four
config = 4
end

begin
prog = mythtv
button = Five
config = 5
end

begin
prog = mythtv
button = Six
config = 6
end

begin
prog = mythtv
button = Seven
config = 7
end

begin
prog = mythtv
button = Eight
config = 8
end

begin
prog = mythtv
button = Nine
config = 9
end

Author:  nbdwt73 [ Sun Jun 03, 2007 8:30 am ]
Post subject: 

The reason it is not working is that there are no key instructions for mplayer in your lircrc file. Do a search on mplayer AND lircrc (make sure you chek the "search for all" switch). You will find several examples of other files. I suspect you will find some for your remote (actually your lircd.conf file).

Author:  slowtolearn [ Sun Jun 03, 2007 8:31 am ]
Post subject:  Re: Remote not Working When Watching Videos

rmflook wrote:
Im having a slight problem with my remote control set up in R5F1. In mythtv for the most part my mceusb2 remote works flawlessly. However when i watch a video (using mplayer) mythtv simply refuses to do anything when i press buttons on my remote control. The lircrc file i am using was from the svn website and i have included it below.
Is that the entire file? You have no entries for mplayer (or anything but mythtv, for that matter). A snippet from my lircrc file, I use Xine instead of mplayer:
Code:
begin
   prog = xine
   button = Play
   repeat = 3
   config = Play
end

begin
   prog = xine
   button = Stop
   repeat = 3
   config = Stop
end

Author:  rmflook [ Sat Jun 16, 2007 5:41 pm ]
Post subject: 

Thanks guys, cant believe i missed that. Did a search on the net a found a suitably useful lirc file to use.

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