summaryrefslogtreecommitdiff
path: root/scripts/dvdarchive.sh.old
diff options
context:
space:
mode:
authorMartin Prochnow <nordlicht@martins-kabuff.de>2006-03-29 18:54:49 +0200
committerAndreas Mair <andreas@vdr-developer.org>2006-03-29 18:54:49 +0200
commit0ff08f0bfb1460e0d0035081956a75b92aaa8359 (patch)
tree3a77a0dec260c32659bf7dda9e35ef04299b8d47 /scripts/dvdarchive.sh.old
parent54d5f6870a7351584fcb1c3e861a4fc9224badf3 (diff)
downloadvdr-plugin-extrecmenu-0ff08f0bfb1460e0d0035081956a75b92aaa8359.tar.gz
vdr-plugin-extrecmenu-0ff08f0bfb1460e0d0035081956a75b92aaa8359.tar.bz2
Version 0.8v0.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
Diffstat (limited to 'scripts/dvdarchive.sh.old')
-rwxr-xr-xscripts/dvdarchive.sh.old37
1 files changed, 0 insertions, 37 deletions
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