Mercurial > mplayer.hg
view TOOLS/install-divx5.sh @ 16544:a10adcba312f
Prints the number of titles, DVD disk ID, the numbers of chapters and
angles for each title, and the time length of each title if -identify
is given when playing a DVD.
Patch by kiriuja < mplayer TIREH patches AH en TIREH directo POIS net >
Original thread at:
Date: Sep 16, 2005 12:24 AM
Subject: [MPlayer-dev-eng] [PATCH] -identify DVD titles
author | gpoirier |
---|---|
date | Thu, 22 Sep 2005 07:40:25 +0000 |
parents | 34cf1cf85ee3 |
children | 45477f25175e |
line wrap: on
line source
#!/bin/sh # Author: thuglife, mennucc1 # set -e site=http://download.divx.com/divx/ filename=divx4linux501-20020418.tgz if [ `whoami` != root ]; then echo "You must be a root to start this script. Login As root first!" exit 1 else case "$1" in install) mkdir /var/tmp/mplayer$$ cd /var/tmp/mplayer$$ wget $site/$filename tar xzf $filename cd divx4linux-20020418/ sh install.sh cd .. rm -rf $filename rm -rf divx4linux-20020418/ echo "Installed Succesfully!" rmdir /var/tmp/mplayer$$ ;; uninstall) rm -rf /usr/local/lib/libdivx{encore,decore}.so{,.0} echo "Uninstalled Succesfully!" ;; *) echo "Usage: {install|uninstall}" exit 1 ;; esac exit 0 fi