summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2006-04-03 18:46:25 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2006-04-03 18:46:25 +0000
commit79cab357138c5cf9efa5f1cedfdb72b19bb2234c (patch)
treed075cbbe1d999da3e0aa20181840e9b5c8fb7e64 /media-tv/vdr-dvd-scripts/files
parentfperms prepends ${D} for us (diff)
downloadgentoo-2-79cab357138c5cf9efa5f1cedfdb72b19bb2234c.tar.gz
gentoo-2-79cab357138c5cf9efa5f1cedfdb72b19bb2234c.tar.bz2
gentoo-2-79cab357138c5cf9efa5f1cedfdb72b19bb2234c.zip
version bump; fixed problem with spaces in *.iso file names
(Portage version: 2.0.54)
Diffstat (limited to 'media-tv/vdr-dvd-scripts/files')
-rw-r--r--media-tv/vdr-dvd-scripts/files/0.0.1/dvdchanger_writedvd_real.sh12
-rw-r--r--media-tv/vdr-dvd-scripts/files/digest-vdr-dvd-scripts-0.0.1-r30
2 files changed, 7 insertions, 5 deletions
diff --git a/media-tv/vdr-dvd-scripts/files/0.0.1/dvdchanger_writedvd_real.sh b/media-tv/vdr-dvd-scripts/files/0.0.1/dvdchanger_writedvd_real.sh
index 84575c261acf..cc35fd0157b0 100644
--- a/media-tv/vdr-dvd-scripts/files/0.0.1/dvdchanger_writedvd_real.sh
+++ b/media-tv/vdr-dvd-scripts/files/0.0.1/dvdchanger_writedvd_real.sh
@@ -1,20 +1,22 @@
#!/bin/sh
#
-# source: http://www.hoochvdr.info
-#
-# $1 = filename of the iso file
+# $Header: /var/cvsroot/gentoo-x86/media-tv/vdr-dvd-scripts/files/0.0.1/dvdchanger_writedvd_real.sh,v 1.2 2006/04/03 18:46:25 hd_brummy Exp $
#
# 04 Mar 2006; Joerg Bornkessel <hd_brummy@gentoo.org>
# addaptded to gentoo-vdr-scripts
[[ -e /etc/conf.d/vdr.cd-dvd ]] && source /etc/conf.d/vdr.cd-dvd
+ISO_FILE=`echo ${@} | sed 's:\ IMAGE::g'`
+
+#logger -t burnscript burn ${ISO_FILE} --
+
: ${VDR_DVDWRITER:=/dev/dvd}
DVD_RECORDCMD="growisofs"
-DVDPLUS_RECORD_OPTS="-dvd-compat -Z"
+DVDPLUS_RECORD_OPTS="-use-the-force-luke=tty -dvd-compat -Z"
unset SUDO_COMMAND
svdrpsend.pl -d localhost "MESG DVD burn initiated"
-$DVD_RECORDCMD $DVDPLUS_RECORD_OPTS $VDR_DVDWRITER=$1
+$DVD_RECORDCMD $DVDPLUS_RECORD_OPTS $VDR_DVDWRITER="${ISO_FILE}"
svdrpsend.pl -d localhost "MESG DVD burn completed"
diff --git a/media-tv/vdr-dvd-scripts/files/digest-vdr-dvd-scripts-0.0.1-r3 b/media-tv/vdr-dvd-scripts/files/digest-vdr-dvd-scripts-0.0.1-r3
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/media-tv/vdr-dvd-scripts/files/digest-vdr-dvd-scripts-0.0.1-r3