summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/linhes-scripts/770-wrapper.sh
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-10-23 18:17:40 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-10-23 18:19:39 (GMT)
commitadbcf19958300e9b6598990184c8815b945ba0ee (patch)
treef4283c850ac0ac202c17e78a637ee7ca8147621b /abs/core-testing/linhes-scripts/770-wrapper.sh
parent61a68250df10d29b624650948484898334ff22d0 (diff)
downloadlinhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/core-testing/linhes-scripts/770-wrapper.sh')
-rwxr-xr-xabs/core-testing/linhes-scripts/770-wrapper.sh37
1 files changed, 0 insertions, 37 deletions
diff --git a/abs/core-testing/linhes-scripts/770-wrapper.sh b/abs/core-testing/linhes-scripts/770-wrapper.sh
deleted file mode 100755
index 3095541..0000000
--- a/abs/core-testing/linhes-scripts/770-wrapper.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-# 770-wrapper.sh by Cecil Watsona
-# Modifed from
-# pdatranscode
-#
-# created by Jeff Volckaert (inspired by Zach White)
-# modified 01/16/06
-VIDEODIR=$1
-FILENAME=$2
-TITLE=$3
-# Remove non-alpha characters from TITLE
-TITLE=${TITLE//[^a-zA-Z0-9]/}
-STARTTIME=$4
-DIROUT=/myth/n770
-
-# Sanity checking, to make sure everything is in order.
-if [ -z "$VIDEODIR" -o -z "$FILENAME" ]; then
- echo "Usage: $0 <VideoDirectory> <FileName> "<Title>" <Starttime>"
- exit 5
-fi
-if [ ! -f $VIDEODIR/$FILENAME ]; then
- echo "File does not exist: $VIDEODIR/$FILENAME"
- exit 6
-fi
-
-# Transcode the file
-
-
-perl /usr/bin/tablet-encode -q -p mplayer $VIDEODIR/$FILENAME $DIROUT/$TITLE-$STARTTIME.avi
-
-chmod 664 $DIROUT/$TITLE-$STARTTIME.avi
-
-ERROR=$?
-if [ $ERROR -ne 0 ]; then
- echo "Transcoding failed for ${FILENAME} with error $ERROR"
- exit 3
-fi