[dvdripping tom@zwizwa.be**20080831142923] { move ./bin/divx2cd ./bin/divx700mb move ./bin/dvd2cd ./bin/dvd2avi hunk ./bin/dvd2avi 3 -if [ -z "$1" ]; then - echo "usage: $0 " +if [ -z "$2" ]; then + echo "usage: $0 " hunk ./bin/dvd2avi 15 +TITLE=$2 hunk ./bin/dvd2avi 29 -# encode backup of dvd to avi, 700 MB -divx2cd all dvd:// -dvd-device $BACKUPDIR/$NAME - -# link +# encode backup of dvd to avi, 700 MB + link it +`dirname $0`/divx700mb all dvd://$TITLE -dvd-device $BACKUPDIR/$NAME && \ hunk ./bin/dvd2avi 32 -[12~ + + hunk ./bin/mp 1 -if [ "$HOSTNAME" == del ]; then - OPTIONS="-ao oss -display :0.1 -fs" -fi -exec mplayer $OPTIONS "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9" - +exec sudo mplayer -ao oss:/dev/dsp1 "$@" }