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

Remote doesn't work watching videos.
http://forum.linhes.org/viewtopic.php?f=17&t=15550
Page 1 of 1

Author:  Gibble [ Thu Jun 07, 2007 9:58 pm ]
Post subject:  Remote doesn't work watching videos.

I have my remote working perfectly in MythTV and watching Live TV. The problem is just in MythVideo (mplayer) (so far as I've found...haven't tested MythMusic yet)

Code:
# ~/.mythtv/lircrc

#Recordings
begin
prog = mythtv
button = Go
repeat = 2
config = F7
end

begin
prog = mythtv
button = Power
config = F1
end

begin
prog = mythtv
button = TV
repeat = 2
config = F5
end

begin
prog = mythtv
button = Videos
repeat = 2
config = F2
end

begin
prog = mythtv
button = Music
repeat = 2
config = F3
end

begin
prog = mythtv
button = Pictures
repeat = 2
config = F4
end

begin
prog = mythtv
button = Guide
repeat = 2
config = S
end

begin
prog = mythtv
button = Radio
repeat = 2
config = F6
end

begin
prog = mythtv
button = Up
repeat = 2
config = Up
end

begin
prog = mythtv
button = Down
repeat = 2
config = Down
end

begin
prog = mythtv
button = Left
repeat = 2
config = Left
end

begin
prog = mythtv
button = Right
repeat = 2
config = Right
end

# OK/Select
begin
prog = mythtv
button = OK
config = Space
end

# Play
begin
prog = mythtv
button = Play
config = Return
end

# Stop
begin
prog = mythtv
button = Stop
config = O
end

# Escape/Exit/Back
begin
prog = mythtv
button = Back/Exit
config = Esc
end

# Pause
begin
prog = mythtv
button = Pause
repeat = 2
config = P
end

# Mute
begin
prog = mythtv
button = Mute
repeat = 2
config = |
end

# Rewind (10 sec default)
begin
prog = mythtv
button = Rewind
repeat = 2
config = <
end

# Fast Forward (30 sec default)
begin
prog = mythtv
button = Forward
repeat = 2
config = >
end

# Skip to next cutpoint
begin
prog = mythtv
button = SkipForward
repeat = 2
config = End
end

# Skip backward (10 min default)
begin
prog = mythtv
button = Replay/SkipBackward
repeat = 2
config = Home
end

# Record
begin
prog = mythtv
button = Record
repeat = 2
config = R
end

# Menu/Info = Info
begin
prog = mythtv
button = Menu/i
repeat = 2
config = I
end

# Scroll up
begin
prog = mythtv
button = Ch+
repeat = 2
config = Up
end

# Scroll down
begin
prog = mythtv
button = Ch-
repeat = 2
config = Down
end

# Change display aspect ratio
begin
prog = mythtv
button = Prev.Ch
repeat = 2
config = H
end

# Toggle PIP
begin
prog = mythtv
button = Red
repeat = 2
config = V
end

# Swap PIP
begin
prog = mythtv
button = Green
repeat = 2
config = N
end

# Swap PIP Focus
begin
prog = mythtv
button = Yellow
repeat = 2
config = B
end

# change CC modes
begin
prog = mythtv
button = #
repeat = 2
config = T
end

# Bring up Time stretch
begin
prog = mythtv
button = Blue
repeat = 2
config = A
end

# Numbers 0-9

begin
prog = mythtv
button = 0
repeat = 2
config = 0
end

begin
prog = mythtv
button = 1
repeat = 2
config = 1
end

begin
prog = mythtv
button = 2
repeat = 2
config = 2
end

begin
prog = mythtv
button = 3
repeat = 2
config = 3
end

begin
prog = mythtv
button = 4
repeat = 2
config = 4
end

begin
prog = mythtv
button = 5
repeat = 2
config = 5
end

begin
prog = mythtv
button = 6
repeat = 2
config = 6
end

begin
prog = mythtv
button = 7
repeat = 2
config = 7
end

begin
prog = mythtv
button = 8
repeat = 2
config = 8
end

begin
prog = mythtv
button = 9
repeat = 2
config = 9
end

begin
prog = mythtv
button = Vol-
repeat = 2
config = [
end

begin
prog = mythtv
button = Vol+
repeat = 2
config = ]
end

### MPlayer lirc setup

# Show OSD
begin
prog = mplayer
button = Menu/i
repeat = 2
config = osd
end

# Pause playback
begin
prog = mplayer
button = Pause
repeat = 2
config = pause
end

# Skip ahead a minute if playing
# If paused, resume playing
begin
prog = mplayer
button = Play
repeat = 2
config = seek +1
end

# Stop playback and exit
begin
prog = mplayer
button = Stop
repeat = 2
config = quit
end

# Mute
begin
prog = mplayer
button = Mute
repeat = 2
config = mute
end

# Seek back 10 seconds
begin
prog = mplayer
button = Rewind
repeat = 2
config = seek -10
end

# Seek forward 30 seconds
begin
prog = mplayer
button = Forward
repeat = 2
config = seek +30
end

# Quit
begin
prog = mplayer
button = Back/Exit
repeat = 2
config = quit
end

# Seek forward 10 minutes
begin
prog = mplayer
button = SkipForward
repeat = 2
config = seek +600
end

# Seek backward 10 minutes
begin
prog = mplayer
button = Replay/SkipBackward
repeat = 2
config = seek -600
end

# Toggle full-screen
begin
prog = mplayer
button = Blue
repeat = 2
config = vo_fullscreen
end


Please help! I really want to get these last few things working :)

ps. It's easy to backup the lircrc and lircd.conf, but how do I backup my key settings in myth (namely jumppoints).

Author:  spalVl [ Fri Jun 08, 2007 6:35 am ]
Post subject: 

It looks like your button names match from MythTV config to Mplayer.

Your seek functions on ffw are
Code:
seek +60
I have mine as
Code:
seek 60
, not sure if that will make a difference.

I have seen some flaky behavior in Mplayer with lircrc. Like on my initial install of R5something none of the mplayer functions worked, after a reboot worked fine and continued to work fine.

Author:  Gibble [ Fri Jun 08, 2007 9:52 pm ]
Post subject: 

Well, my machine reboots nightly, so that's not it :)

But NONE of my mplayer commands work...that's the odd thing. And it's definitely mplayer that I'm using.

Author:  Gibble [ Fri Jun 08, 2007 9:56 pm ]
Post subject: 

And I just ran mplayer -input cmdlist and it matches what I'd expect.

Author:  Gibble [ Fri Jun 08, 2007 10:01 pm ]
Post subject: 

I'm using the following:
mplayer -fs -zoom -quiet -vo xv %s

Author:  mjl [ Fri Jun 08, 2007 10:12 pm ]
Post subject: 

Hi

Unless you shut it down for the evening or day, why would you reboot every night?

Thanks
Mike

Author:  Gibble [ Fri Jun 08, 2007 11:15 pm ]
Post subject: 

It was locking up every couple days...not sure why. But since I've got it rebooting every night at ~3am, I don't notice it, and I don't have that problem anymore.

Author:  slowtolearn [ Sat Jun 09, 2007 8:05 am ]
Post subject: 

Gibble wrote:
I'm using the following:
mplayer -fs -zoom -quiet -vo xv %s
Are you running the frontend as a user other than mythtv (such as root)? You may need to point mplayer to the appropriate lirc file, does it work if you use
Code:
mplayer -lircconf /home/mythtv/.mythtv/lircrc -fs -zoom -quiet -vo xv %s

Author:  Gibble [ Sun Jun 10, 2007 9:38 am ]
Post subject: 

slowtolearn wrote:
Gibble wrote:
I'm using the following:
mplayer -fs -zoom -quiet -vo xv %s
Are you running the frontend as a user other than mythtv (such as root)? You may need to point mplayer to the appropriate lirc file, does it work if you use
Code:
mplayer -lircconf /home/mythtv/.mythtv/lircrc -fs -zoom -quiet -vo xv %s


Bingo! Thanks.

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