From 0ff08f0bfb1460e0d0035081956a75b92aaa8359 Mon Sep 17 00:00:00 2001 From: Martin Prochnow Date: Wed, 29 Mar 2006 18:54:49 +0200 Subject: Version 0.8 - added some logging - added option to hide the "new recordings column" - added possibility to edit lifetime and priority at the rename menu - changed alternative new marker, it marks now the recordings that are not "rewinded", if turned of the behaviour is like that of VDR's recordings menu - added support for a file length.vdr, containing the length of a recording as a string - new version of 'dvdarchive.sh'; thanks to vejoun from vdr-portal.de - added two small tools (in tools/); isodetect to check for a dvd in drive (optionally used by 'dvdarchive.sh'); getlength to create a length.vdr - updated error messages, more detailed now - fixed quoting of the parameters for dvdarchive.sh to avoid problems with filenames containing a ' - fixed unnecessary calls of 'dvdarchive.sh'; thanks to vejoun from vdr-portal.de for reporting --- scripts/dvdarchive.sh.old | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100755 scripts/dvdarchive.sh.old (limited to 'scripts/dvdarchive.sh.old') diff --git a/scripts/dvdarchive.sh.old b/scripts/dvdarchive.sh.old deleted file mode 100755 index ffe1737..0000000 --- a/scripts/dvdarchive.sh.old +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh - -#MOUNTCMD="/bin/mount" -MOUNTCMD="/usr/bin/sudo mount" -#UMOUNTCMD="/bin/umount" -UMOUNTCMD="/usr/bin/sudo umount" -MOUNTPOINT="/media/cdrom/" # trailing '/' is important! (for find command) -PATH=$2 -NAME=$3 - -case "$1" in -mount) - # mount dvd - $MOUNTCMD $MOUNTPOINT - if [ $? -eq 0 ] - then - DIR=$(/usr/bin/find $MOUNTPOINT -name $NAME) - # bind recording dir on dvd to recording dir in /video - $MOUNTCMD --bind $DIR $PATH - if [ $? -ne 0 ] - then - $UMOUNTCMD $MOUNTPOINT - exit 2 - fi - else - exit 1 - fi - ;; -umount) - $MOUNTCMD | /bin/grep $PATH > /dev/null - if [ $? -eq 0 ] - then - $UMOUNTCMD $PATH - $UMOUNTCMD $MOUNTPOINT - fi - ;; -esac -- cgit v1.2.3