View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Mar 05, 2008 7:22 am 
Offline
Joined: Wed Jul 14, 2004 3:32 pm
Posts: 142
Hi guys

I have programmed my lircrc to have a few keys available for mplayer whilst watching videos. My video player in the setup is mplayer-resumer.pl. Whilst watching a video, only the pause/play/osd and quit mapped buttons work. I have programmed keys 1 to 9 to seek forward the required amount of minutes. I know they are working, as I have the button sounds enabled. Why is mplayer ignoring these keys ???

Can anyone else help ???

_________________
Thanks in advance
Matt Shaw
matt@shagshaw.com

AMD Sempron 2400+ on Via Motherboard,
512MB Ram, 160GB IDE HDD,
Nvidia Geforce FX5500 128MB TV-Out,
2 x Twinhan DVB-T BT878 (Freeview UK)
KnoppMYTH R5F27


Top
 Profile  
 
PostPosted: Thu Mar 13, 2008 4:10 pm 
Offline
Joined: Mon Apr 23, 2007 1:45 pm
Posts: 405
Location: Fargo, ND, USA
mattshaw wrote:
Hi guys

. I have programmed keys 1 to 9 to seek forward the required amount of minutes.
Can anyone else help ???


Paste this into your /home/mythtv/.mythtv/lircrc it should just work with nothing else to do.

Code:
######################### MPlayer Section ##############################

# "mplayer -input keylist" Prints all keys that can be bound to commands.
# "mplayer -input cmdlist" Prints all commands that can be bound to keys
# "man mplayer" Prints documentation for MPlayer

# Show OSD
begin
       prog = mplayer
       button = OK
       config = osd
end

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

# If paused, resume playing
begin
       prog = mplayer
       button = Play
       config = pause
end

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

# Volume-Up
begin
       prog = mplayer
       button = VolumeUp
       repeat = 2
       config = volume +1
end

# Volume-Down
begin
       prog = mplayer
       button = VolumeDown
       repeat = 2
       config = volume -1
end

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

# Seek back 60 seconds
begin
       prog = mplayer
       button = Left
       repeat = 2
       config = seek -60
end

# Seek forward 60 seconds
begin
       prog = mplayer
       button = Right
       repeat = 2
       config = seek +60
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
       config = quit
end

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

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

# increase brightness
begin
       button = ChannelUp
       prog   = mplayer
       repeat = 2
       config = brightness +1
end

# decrease brightness
begin
       button = ChannelDown
       prog   = mplayer
       repeat = 2
       config = brightness -1
end

# Toggle full-screen
#begin
#       prog = mplayer
#       button = #???????????????????????????
#       repeat = 2
#       config = vo_fullscreen
#end
######################### MPlayer Section End ##############################



TVBox

_________________
TVBox
LinHES R8.6.1


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 14, 2008 4:09 am 
Offline
Joined: Wed Jul 14, 2004 3:32 pm
Posts: 142
Sorry, didn't paste the contents of my lircrc. Thanks for your help but shown above is exactly the kind of entries I have in my lircrc. Will double check my syntax tonight.....

_________________
Thanks in advance
Matt Shaw
matt@shagshaw.com

AMD Sempron 2400+ on Via Motherboard,
512MB Ram, 160GB IDE HDD,
Nvidia Geforce FX5500 128MB TV-Out,
2 x Twinhan DVB-T BT878 (Freeview UK)
KnoppMYTH R5F27


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: Bing [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu