Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
mplayer-resume [2013/06/28 11:42] beandog created |
mplayer-resume [2013/06/28 11:46] beandog |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== mplayer-resume ====== | ====== mplayer-resume ====== | ||
- | ''mplayer-resume'' is a PHP shell script I wrote to resume playback of files through mplayer. It works using slave mode and LIRC with mplayer, which outputs the variables to stdout. The wrapper script then keeps these values, and uses them to jump to that last point. | + | **mplayer-resume** is a PHP shell script I wrote to resume playback of files through mplayer. It works using slave mode and LIRC with mplayer, which outputs the variables to stdout. The wrapper script then keeps these values, and uses them to jump to that last point. |
- | Note that this code is an ''archived copy'' of the source code. It's unmaintained, but probably works. | + | Note that this code is an **archived copy** of the source code. It's unmaintained, but probably works. |
== mplayer-resume 2.0 == | == mplayer-resume 2.0 == | ||
Line 267: | Line 267: | ||
} | } | ||
?> | ?> | ||
+ | </code> | ||
+ | |||
+ | === ChangeLog === | ||
+ | |||
+ | <code> | ||
+ | 2.0 (2009-08-11) | ||
+ | |||
+ | - Add --filename argument to specify filename directly, instead | ||
+ | of trying to guess what it is. | ||
+ | - Add optional argument --use-filedir-conf, to include mplayer.conf | ||
+ | in local directory, and pass -include mplayer.conf to mplayer. | ||
+ | |||
+ | 1.6 (2008-12-16) | ||
+ | |||
+ | - Check exit codes on mplayer, so that if mplayer quits | ||
+ | unexpectedly, mplayer-resume won't kill the resume point. | ||
+ | - Send exit codes | ||
+ | |||
+ | 1.5 (2008-01-12) | ||
+ | |||
+ | - Allow spaces in filenames. Use mplayer-resume "filename" | ||
+ | - Get the filename from MPlayer on exit, and use that to save | ||
+ | the file to. Useful for playlists. See README. | ||
+ | |||
+ | 1.3 (2006-09-15) | ||
+ | |||
+ | - Call env instead of php directly | ||
+ | - Get $HOME environment variable to save files to | ||
+ | |||
+ | 1.2 | ||
+ | |||
+ | - Documentation updates | ||
</code> | </code> |