mplayer-resume
This little shell script is a wrapper to mplayer that will save the playback position of your movie after you quit, and save it to a text file. When you play the file again, it will resume where you left off playing.
It works by listening to mplayer's output. MPlayer has several commands that you can send to LIRC, one of them is 'get_time_pos' which will tell you the playback position of your media file. The script simply captures that output and saves it for each file you play in a directory.
The only requirements are PHP (v4 or v5) with PCRE support (most likely enabled by default) and MPlayer with LIRC support.
If you need a remote control, I highly recommend the StreamZap USB IR remote control.
Documentation
For purposes of copyright, it is public domain.
Download
- mplayer-resume-1.6.tar.gz - MD5 8bc998ef075edb79a251943c187c1eee
- source code
If you are using Gentoo Linux, you can emerge mplayer-resume
Bugs
Enjoy, and feel free to contact me about bug notices. :)
