LinHES Forums http://forum.linhes.org/ |
|
mplayer-resumer.pl & LIRC http://forum.linhes.org/viewtopic.php?f=5&t=17995 |
Page 1 of 1 |
Author: | mattshaw [ Wed Mar 05, 2008 7:22 am ] |
Post subject: | mplayer-resumer.pl & LIRC |
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 ??? |
Author: | TVBox [ Thu Mar 13, 2008 4:10 pm ] |
Post subject: | Re: mplayer-resumer.pl & LIRC |
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 |
Author: | mattshaw [ Fri Mar 14, 2008 4:09 am ] |
Post subject: | |
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..... |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |