MPlayer Resume Playback

A wrapper script for mplayer which saves the playback position of a file you are watching.
Download

MPlayer Resume Playback Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Public Domain
  • Price:
  • FREE
  • Publisher Name:
  • Steve Dibb
  • Publisher web site:
  • http://wonkabar.org/bend/wiki/mplayer-resume

MPlayer Resume Playback Tags


MPlayer Resume Playback Description

A wrapper script for mplayer which saves the playback position of a file you are watching. MPlayer Resume Playback is a wrapper script for mplayer which saves the playback position of a file you are watching, and when you resume playing the file, will seek to where you last left off. It's most useful with remote control devices.MPlayer Resume Playback script 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.If you need a remote control, I highly recommend the StreamZap USB IR remote control. Documentation is already included in the script. Just setup the directory you want to save the files to, and configure your .lircrc file to save the playback position on exit. Requirements: · PHP (v4 or v5) with PCRE support (most likely enabled by default) · MPlayer with LIRC support What's New in This Release: · Code cleanup. · This release captures exit codes from mplayer so it doesn't remove the position if mplayer breaks on playback.


MPlayer Resume Playback Related Software