summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/vdr-dvdconvert/files')
-rw-r--r--media-plugins/vdr-dvdconvert/files/commands.dvdconvert.conf5
-rw-r--r--media-plugins/vdr-dvdconvert/files/digest-vdr-dvdconvert-1.0.26
-rw-r--r--media-plugins/vdr-dvdconvert/files/dvd2dvdr-1.0.2.conf50
-rw-r--r--media-plugins/vdr-dvdconvert/files/dvdlogrotate22
-rw-r--r--media-plugins/vdr-dvdconvert/files/rc-addon.sh18
-rw-r--r--media-plugins/vdr-dvdconvert/files/vdr-dvdconvert-1.0.2-gentoo.diff220
-rw-r--r--media-plugins/vdr-dvdconvert/files/vdr-dvdconvert-1.0.2-vobcopy-perm.diff84
7 files changed, 405 insertions, 0 deletions
diff --git a/media-plugins/vdr-dvdconvert/files/commands.dvdconvert.conf b/media-plugins/vdr-dvdconvert/files/commands.dvdconvert.conf
new file mode 100644
index 000000000000..e942106f7dd8
--- /dev/null
+++ b/media-plugins/vdr-dvdconvert/files/commands.dvdconvert.conf
@@ -0,0 +1,5 @@
+# /etc/vdr/commands/commands.dvdconvert.conf
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-dvdconvert/files/commands.dvdconvert.conf,v 1.1 2007/01/07 01:29:35 hd_brummy Exp $
+D V D C O N V E R T ... : echo "no function"
+-1 DVD2DVD START -: /usr/share/vdr/dvdconvert/bin/dvd2dvd.sh >> /var/log/dvdconvert/dvd2dvd.log 2>&1 &
+-2 DVD2VDR START -: /usr/share/vdr/dvdconvert/bin/dvd2vdr.sh >> /var/log/dvdconvert/dvd2vdr.log 2>&1 &
diff --git a/media-plugins/vdr-dvdconvert/files/digest-vdr-dvdconvert-1.0.2 b/media-plugins/vdr-dvdconvert/files/digest-vdr-dvdconvert-1.0.2
new file mode 100644
index 000000000000..676ccf599c2e
--- /dev/null
+++ b/media-plugins/vdr-dvdconvert/files/digest-vdr-dvdconvert-1.0.2
@@ -0,0 +1,6 @@
+MD5 cca91396c0edd02ce824ceb8b28da293 px-files-20070104.tar.bz2 934482
+RMD160 f33911d5ba49c8ad31c2b4fa4364271b82a25143 px-files-20070104.tar.bz2 934482
+SHA256 5f9d39da9a6858d16489166e42fe01b5148ec3e3743872551f8d5706b5d370c6 px-files-20070104.tar.bz2 934482
+MD5 a7e9d6c57fc23f3eb7f1782ca1d68729 vdr-dvdconvert-1.0.2.tar.bz2 26537
+RMD160 251a62c505f96207186247dfb91d6029b89a0b56 vdr-dvdconvert-1.0.2.tar.bz2 26537
+SHA256 ad2d29b42dbc9fd3ec2a08bfca8cf5116f5738c82814971529eb6a6cb4356da4 vdr-dvdconvert-1.0.2.tar.bz2 26537
diff --git a/media-plugins/vdr-dvdconvert/files/dvd2dvdr-1.0.2.conf b/media-plugins/vdr-dvdconvert/files/dvd2dvdr-1.0.2.conf
new file mode 100644
index 000000000000..e84ae6e98591
--- /dev/null
+++ b/media-plugins/vdr-dvdconvert/files/dvd2dvdr-1.0.2.conf
@@ -0,0 +1,50 @@
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-dvdconvert/files/dvd2dvdr-1.0.2.conf,v 1.1 2007/01/07 01:29:35 hd_brummy Exp $
+
+###########################################################################
+# define some variables
+###########################################################################
+
+VIDEODIR=/var/vdr/video # video directory of vdr
+ISODIR=/var/vdr/video/dvd-images # dir for the isofiles
+WORKDIR=/var/vdr/video/.dvdconvert # working directory of dvdconvert
+ # create this by your self, if you change some path
+
+DVD_DEVICE=/dev/dvd # dvd device
+
+LANGUAGE="de" # select preferred language
+ # "de", "en"
+
+DVD_SIZE=4300000000 # DVD Size 4,3GB
+
+
+#TITLE_MIN_LENGTH=60 # mimimun length in sec for
+ # a title on a DVD to be
+ # considered for conversion
+
+PRIO=15 # priority from 1 to 19
+SLEEPTIME=10 # wait for user action
+VERBOSE=1 # be verbose - 0: off, 1: on
+DEBUG=1 # debug info - 0: off, 1-3: level
+FORCE=0 # force exec - 0: off, 1: on (erzwingen)
+CLEAN=0 # clean dirs - 0: off, 1: on (abschliesendes loeschen)
+REMOVE=1 # remove tmp file - 0: off, 1: on (temp. loeschen im Betrieb)
+
+REMOVE_ISO=1 # remove iso file - 0: off, 1: on
+BURN=1 # burn a dvd - 0: off, 1: on
+RW_FORMAT=1 # format a dvd+rw or dvd-rw disk - 0: off, 1: on
+
+OSDINFO=1 # svdrpsend - 0: off, 1: on
+
+A52DEC_GAIN="+5.0" # add gain in decibels
+CREATE_MARKS=0 # create a marks.vdr for vdr - 0: off, 1: on
+
+
+###########################################################################
+# define required tools
+###########################################################################
+
+JAVA_BIN=/usr/bin/java # ???
+PROJECTX_JAR=/usr/share/vdr/dvdconvert/pX/pX.jar # or PX.jar for newer java version
+PROJECTX_INI=/usr/share/vdr/dvdconvert/pX/pX.ini # or PX.ini for newer java version
+XVFB_BIN=/usr/X11R6/bin/Xvfb
diff --git a/media-plugins/vdr-dvdconvert/files/dvdlogrotate b/media-plugins/vdr-dvdconvert/files/dvdlogrotate
new file mode 100644
index 000000000000..37fc05789bc9
--- /dev/null
+++ b/media-plugins/vdr-dvdconvert/files/dvdlogrotate
@@ -0,0 +1,22 @@
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-dvdconvert/files/dvdlogrotate,v 1.1 2007/01/07 01:29:35 hd_brummy Exp $
+
+/var/log/dvdconvert/dvd2vdr.log {
+ compress
+ dateext
+ maxage 365
+ rotate 99
+ size=+4096k
+ notifempty
+ missingok
+ copytruncate
+}
+/var/log/dvdconvert/dvd2dvd.log {
+ compress
+ dateext
+ maxage 365
+ rotate 99
+ size=+4096k
+ notifempty
+ missingok
+ copytruncate
+}
diff --git a/media-plugins/vdr-dvdconvert/files/rc-addon.sh b/media-plugins/vdr-dvdconvert/files/rc-addon.sh
new file mode 100644
index 000000000000..9ca9fc92df3c
--- /dev/null
+++ b/media-plugins/vdr-dvdconvert/files/rc-addon.sh
@@ -0,0 +1,18 @@
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-dvdconvert/files/rc-addon.sh,v 1.1 2007/01/07 01:29:35 hd_brummy Exp $
+#
+# rc-addon-script for plugin dvdconvert
+#
+# Joerg Bornkessel <hd_brummy@gentoo.org>
+
+DVDCONVERT_CONF="/usr/share/vdr/dvdconvert/dvdconvert.conf"
+
+plugin_pre_vdr_start() {
+
+add_plugin_param "-c ${DVDCONVERT_CONF}"
+
+}
+
+# for compatibility
+if [[ ${SCRIPT_API:-1} -lt 2 ]]; then
+plugin_pre_vdr_start
+fi
diff --git a/media-plugins/vdr-dvdconvert/files/vdr-dvdconvert-1.0.2-gentoo.diff b/media-plugins/vdr-dvdconvert/files/vdr-dvdconvert-1.0.2-gentoo.diff
new file mode 100644
index 000000000000..78c081e2ec33
--- /dev/null
+++ b/media-plugins/vdr-dvdconvert/files/vdr-dvdconvert-1.0.2-gentoo.diff
@@ -0,0 +1,220 @@
+addapted all path to gentoo system
+typo fixed
+
+Joerg Bornkessel <hd_brummy@gentoo.org> 04 Jan 2007
+diff -Naur dvdconvert-1.0.2.orig/dvdconvert.c dvdconvert-1.0.2/dvdconvert.c
+--- dvdconvert-1.0.2.orig/dvdconvert.c 2007-01-05 20:09:55.308636742 +0100
++++ dvdconvert-1.0.2/dvdconvert.c 2007-01-05 20:10:06.461272295 +0100
+@@ -74,12 +74,12 @@
+ char *p1, *p2;
+
+ if( cfgFile == NULL )
+- strcpy(configFile,AddDirectory( cPlugin::ConfigDirectory(), CFG_FILE ));
++ strcpy(configFile,AddDirectory( cPlugin::ConfigDirectory("../../../usr/share/vdr/dvdconvert"), CFG_FILE ));
+ else
+ strcpy(configFile,cfgFile);
+
+ if( scrFile == NULL )
+- strcpy(scriptFile,AddDirectory( cPlugin::ConfigDirectory(), SCRIPT_FILE ));
++ strcpy(scriptFile,AddDirectory( cPlugin::ConfigDirectory("../../../usr/share/vdr/dvdconvert/bin"), SCRIPT_FILE ));
+ else
+ strcpy(scriptFile,scrFile);
+
+diff -Naur dvdconvert-1.0.2.orig/scripts/dvd2dvd-1.0.2.sh dvdconvert-1.0.2/scripts/dvd2dvd-1.0.2.sh
+--- dvdconvert-1.0.2.orig/scripts/dvd2dvd-1.0.2.sh 2007-01-05 20:09:55.300636285 +0100
++++ dvdconvert-1.0.2/scripts/dvd2dvd-1.0.2.sh 2007-01-05 20:10:24.358292186 +0100
+@@ -33,7 +33,7 @@
+ WORKDIR=/video0/vdr/tmp/dvd2dvd # working directory of dvd2dvd
+ DVD_DEVICE=/dev/cdrom # dvd device
+
+-DVD2DVD_CONF=/video0/vdr/conf/plugins/dvd2dvd.conf
++DVD2DVD_CONF=/etc/vdr/plugins/dvdconvert/dvdconvert
+
+ # this file overrides some
+ # internal settings and
+@@ -111,7 +111,7 @@
+ DVDRECORD_OPT_2="-dao driveropts=burnfree"
+ DVDFORMAT_OPT="-Z"
+
+-LOGDIR=/var/log/vdr
++LOGDIR=/var/log/dvdconvert
+ LOGFILE=$LOGDIR/dvd2dvd.log
+ LOCKFILE=$LOGDIR/dvd2dvd.LOCK
+
+diff -Naur dvdconvert-1.0.2.orig/scripts/dvd2vdr-1.0.1.sh dvdconvert-1.0.2/scripts/dvd2vdr-1.0.1.sh
+--- dvdconvert-1.0.2.orig/scripts/dvd2vdr-1.0.1.sh 2007-01-05 20:09:55.284635374 +0100
++++ dvdconvert-1.0.2/scripts/dvd2vdr-1.0.1.sh 2007-01-05 20:10:06.529276171 +0100
+@@ -32,7 +32,7 @@
+ WORKDIR=/video0/vdr/tmp/dvd2vdr # working directory of dvd2vdr
+ DVD_DEVICE=/dev/cdrom # dvd device
+
+-DVD2VDR_CONF=/video0/vdr/conf/plugins/dvd2vdr.conf
++DVD2VDR_CONF=/etc/vdr/plugins/dvdconvert/dvdconvert
+
+ # this file overrides some
+ # internal settings and
+@@ -97,7 +97,7 @@
+ GENINDEX_BIN=genindex
+ GENINDEX_MJPEGFIX_BIN=genindex-mjpegfix
+
+-LOGDIR=/var/log/vdr
++LOGDIR=/var/log/dvdconvert
+ LOGFILE=$LOGDIR/dvd2vdr.log
+ LOCKFILE=$LOGDIR/dvd2vdr.LOCK
+
+@@ -654,7 +654,7 @@
+ cat ${TEMPDIR}/vobcopy_*.log >> $LOGFILE
+ if [ $TITLENUM = "AUTO" ] ; then
+ TITLENUM=`cat ${TEMPDIR}/vobcopy_*.log | \
+- grep 'Using Title' | head -n 1 | awk '{print $4}'` && \
++ grep 'Using Title' | head -n 1 | awk '{print $4}'`
+ fi
+ ;;
+ esac
+diff -Naur dvdconvert-1.0.2.orig/scripts/dvdconvert.conf dvdconvert-1.0.2/scripts/dvdconvert.conf
+--- dvdconvert-1.0.2.orig/scripts/dvdconvert.conf 2007-01-05 20:09:55.292635831 +0100
++++ dvdconvert-1.0.2/scripts/dvdconvert.conf 2007-01-05 20:10:06.537276626 +0100
+@@ -4,39 +4,39 @@
+ #
+ :dvd2vdr
+ --- Einstellungen_dvd2vdr ---
+-/usr/local/bin/start_dvd2vdr.sh:ACTION:0:L:1:all,copy,demux,encode,mplex,split,move:Actions:
+-/usr/local/bin/start_dvd2vdr.sh:LANGUAGE:0:L:1:de,en:Language:
+-/usr/local/bin/start_dvd2vdr.sh:OSDINFO:1:B:0:Nein,Ja:OSD-Info:
+-/usr/local/bin/start_dvd2vdr.sh:TITLE: :A:15:abcdefghijklmnopqrstuvwxyz0123456789-_ABCDEFGHIJKLMNOPQRSTUVWXYZ:Title (optional):
+-/usr/local/bin/start_dvd2vdr.sh:TITLENUM: :A:3:0,99,MAX,AUTO:Specific title (00-99) or (MAX = max. Frames) or (AUTO = vobcopy-test)(optional):
+-/usr/local/bin/start_dvd2vdr.sh:ACTION_DEMUX:0:L:0:tcextract,projectX:Demuxer:
+-/usr/local/bin/start_dvd2vdr.sh:WITHOUT_X:0:B:1:Nein,Ja:Start Xvfb (optional):
+-/usr/local/bin/start_dvd2vdr.sh:A52DEC_GAIN: :I:2:-96,96:Audio gain (-96.0 to +96.0)(optional):
+-/usr/local/bin/start_dvd2vdr.sh:ACTION_ENCODE:0:L:0:toolame,mp2enc:Encoder:
+-/usr/local/bin/start_dvd2vdr.sh:ACTION_MPLEX:0:L:0:tcmplex,tcmplex-panteltje:Remuxer:
+-/usr/local/bin/start_dvd2vdr.sh:ACTION_GENINDEX:0:L:0:genindex-mjpegfix,genindex:Write index.vdr:
+-/usr/local/bin/start_dvd2vdr.sh:REMOVE:0:B:1:Nein,Ja:Remove tmp files:
+-/usr/local/bin/start_dvd2vdr.sh:CLEAN:0:B:1:Nein,Ja:Clean dirs:
+-/usr/local/bin/start_dvd2vdr.sh:VERBOSE:1:B:1:Nein,Ja:Turns verbosity on:
++/usr/share/vdr/dvdconvert/bin/start_dvd2vdr.sh:ACTION:0:L:1:all,copy,demux,encode,mplex,split,move:Actions:
++/usr/share/vdr/dvdconvert/bin/start_dvd2vdr.sh:LANGUAGE:0:L:1:de,en:Language:
++/usr/share/vdr/dvdconvert/bin/start_dvd2vdr.sh:OSDINFO:1:B:0:Nein,Ja:OSD-Info:
++/usr/share/vdr/dvdconvert/bin/start_dvd2vdr.sh:TITLE: :A:15:abcdefghijklmnopqrstuvwxyz0123456789-_ABCDEFGHIJKLMNOPQRSTUVWXYZ:Title (optional):
++/usr/share/vdr/dvdconvert/bin/start_dvd2vdr.sh:TITLENUM: :A:3:0,99,MAX,AUTO:Specific title (00-99) or (MAX = max. Frames) or (AUTO = vobcopy-test)(optional):
++/usr/share/vdr/dvdconvert/bin/start_dvd2vdr.sh:ACTION_DEMUX:0:L:0:tcextract,projectX:Demuxer:
++/usr/share/vdr/dvdconvert/bin/start_dvd2vdr.sh:WITHOUT_X:0:B:1:Nein,Ja:Start Xvfb (optional):
++/usr/share/vdr/dvdconvert/bin/start_dvd2vdr.sh:A52DEC_GAIN: :I:2:-96,96:Audio gain (-96.0 to +96.0)(optional):
++/usr/share/vdr/dvdconvert/bin/start_dvd2vdr.sh:ACTION_ENCODE:0:L:0:toolame,mp2enc:Encoder:
++/usr/share/vdr/dvdconvert/bin/start_dvd2vdr.sh:ACTION_MPLEX:0:L:0:tcmplex-panteltje:Remuxer:
++/usr/share/vdr/dvdconvert/bin/start_dvd2vdr.sh:ACTION_GENINDEX:0:L:0:genindex:Write index.vdr:
++/usr/share/vdr/dvdconvert/bin/start_dvd2vdr.sh:REMOVE:0:B:1:Nein,Ja:Remove tmp files:
++/usr/share/vdr/dvdconvert/bin/start_dvd2vdr.sh:CLEAN:0:B:1:Nein,Ja:Clean dirs:
++/usr/share/vdr/dvdconvert/bin/start_dvd2vdr.sh:VERBOSE:1:B:1:Nein,Ja:Turns verbosity on:
+ :
+ ---
+ #
+ ---
+ :dvd2dvd
+ --- Einstellungen_dvd2dvd ---
+-/usr/local/bin/start_dvd2dvd.sh:ACTION1:0:L:1:all,copy,demux,encode,reqant,mplex,dvdauthor,iso,move:Actions:
+-/usr/local/bin/start_dvd2dvd.sh:LANGUAGE1:0:L:1:de,en:Language:
+-/usr/local/bin/start_dvd2dvd.sh:OSDINFO1:1:B:0:Nein,Ja:OSD-Info:
+-/usr/local/bin/start_dvd2dvd.sh:TITLE1: :A:15:abcdefghijklmnopqrstuvwxyz0123456789-_ABCDEFGHIJKLMNOPQRSTUVWXYZ:Title (optional):
+-/usr/local/bin/start_dvd2dvd.sh:TITLENUM1: :A:3:0,99,MAX,AUTO:Specific title (00-99) or (MAX = max. Frames) or (AUTO = vobcopy-test)(optional):
+-/usr/local/bin/start_dvd2dvd.sh:ACTION_DEMUX1:0:L:0:tcextract,projectX:Demuxer:
+-/usr/local/bin/start_dvd2dvd.sh:WITHOUT_X1:0:B:1:Nein,Ja:Start Xvfb (optional):
+-/usr/local/bin/start_dvd2dvd.sh:A52DEC_GAIN1: :I:2:-96,96:Audio gain (-96.0 to +96.0)(optional):
+-/usr/local/bin/start_dvd2dvd.sh:ACTION_ENCODE1:0:L:0:toolame,mp2enc:Encoder:
+-/usr/local/bin/start_dvd2dvd.sh:ACTION_MPLEX1:0:L:0:tcmplex,tcmplex-panteltje:Remuxer:
+-/usr/local/bin/start_dvd2dvd.sh:BURN1:1:B:1:Nein,Ja:Burn DVD:
+-/usr/local/bin/start_dvd2dvd.sh:RW_FORMAT1:0:B:1:Nein,Ja:Format DVD-RW:
+-/usr/local/bin/start_dvd2dvd.sh:REMOVE_ISO1:0:B:1:Nein,Ja:Remove this iso file:
+-/usr/local/bin/start_dvd2dvd.sh:REMOVE1:0:B:1:Nein,Ja:Remove tmp files:
+-/usr/local/bin/start_dvd2dvd.sh:CLEAN1:0:B:1:Nein,Ja:Clean dirs:
+-/usr/local/bin/start_dvd2dvd.sh:VERBOSE1:1:B:1:Nein,Ja:Turns verbosity on:
++/usr/share/vdr/dvdconvert/bin/start_dvd2dvd.sh:ACTION1:0:L:1:all,copy,demux,encode,reqant,mplex,dvdauthor,iso,move:Actions:
++/usr/share/vdr/dvdconvert/bin/start_dvd2dvd.sh:LANGUAGE1:0:L:1:de,en:Language:
++/usr/share/vdr/dvdconvert/bin/start_dvd2dvd.sh:OSDINFO1:1:B:0:Nein,Ja:OSD-Info:
++/usr/share/vdr/dvdconvert/bin/start_dvd2dvd.sh:TITLE1: :A:15:abcdefghijklmnopqrstuvwxyz0123456789-_ABCDEFGHIJKLMNOPQRSTUVWXYZ:Title (optional):
++/usr/share/vdr/dvdconvert/bin/start_dvd2dvd.sh:TITLENUM1: :A:3:0,99,MAX,AUTO:Specific title (00-99) or (MAX = max. Frames) or (AUTO = vobcopy-test)(optional):
++/usr/share/vdr/dvdconvert/bin/start_dvd2dvd.sh:ACTION_DEMUX1:0:L:0:tcextract,projectX:Demuxer:
++/usr/share/vdr/dvdconvert/bin/start_dvd2dvd.sh:WITHOUT_X1:0:B:1:Nein,Ja:Start Xvfb (optional):
++/usr/share/vdr/dvdconvert/bin/start_dvd2dvd.sh:A52DEC_GAIN1: :I:2:-96,96:Audio gain (-96.0 to +96.0)(optional):
++/usr/share/vdr/dvdconvert/bin/start_dvd2dvd.sh:ACTION_ENCODE1:0:L:0:toolame,mp2enc:Encoder:
++/usr/share/vdr/dvdconvert/bin/start_dvd2dvd.sh:ACTION_MPLEX1:0:L:0:tcmplex-panteltje:Remuxer:
++/usr/share/vdr/dvdconvert/bin/start_dvd2dvd.sh:BURN1:1:B:1:Nein,Ja:Burn DVD:
++/usr/share/vdr/dvdconvert/bin/start_dvd2dvd.sh:RW_FORMAT1:0:B:1:Nein,Ja:Format DVD-RW:
++/usr/share/vdr/dvdconvert/bin/start_dvd2dvd.sh:REMOVE_ISO1:0:B:1:Nein,Ja:Remove this iso file:
++/usr/share/vdr/dvdconvert/bin/start_dvd2dvd.sh:REMOVE1:0:B:1:Nein,Ja:Remove tmp files:
++/usr/share/vdr/dvdconvert/bin/start_dvd2dvd.sh:CLEAN1:0:B:1:Nein,Ja:Clean dirs:
++/usr/share/vdr/dvdconvert/bin/start_dvd2dvd.sh:VERBOSE1:1:B:1:Nein,Ja:Turns verbosity on:
+diff -Naur dvdconvert-1.0.2.orig/scripts/dvdconvert.sh dvdconvert-1.0.2/scripts/dvdconvert.sh
+--- dvdconvert-1.0.2.orig/scripts/dvdconvert.sh 2007-01-05 20:09:55.284635374 +0100
++++ dvdconvert-1.0.2/scripts/dvdconvert.sh 2007-01-05 20:10:06.545277082 +0100
+@@ -1,9 +1,9 @@
+ #!/bin/sh
+-CFG_FILE="/etc/vdr/plugins/dvdconvert.conf"
+-CFG_SAVE="/etc/vdr/plugins/dvdconvert.conf.save"
++CFG_FILE="/usr/share/vdr/dvdconvert/dvdconvert.conf"
++CFG_SAVE="/usr/share/vdr/dvdconvert/dvdconvert.conf.save"
+
+ TODO_FILE="/tmp/~dvdconvert.sh"
+-LOG_FILE="/var/log/dvdconvert.log"
++LOG_FILE="/var/log/dvdconvert/dvdconvert.log"
+ rm -rf $TODO_FILE > /dev/null 2>&1
+ echo "#!/bin/sh" > $TODO_FILE
+ if [ -s $CFG_SAVE ] ; then
+diff -Naur dvdconvert-1.0.2.orig/scripts/getadmval.sh dvdconvert-1.0.2/scripts/getadmval.sh
+--- dvdconvert-1.0.2.orig/scripts/getadmval.sh 2007-01-05 20:09:55.284635374 +0100
++++ dvdconvert-1.0.2/scripts/getadmval.sh 2007-01-05 20:10:06.553277538 +0100
+@@ -1,5 +1,5 @@
+ #!/bin/sh
+-CFG_FILE="/etc/vdr/plugins/dvdconvert.conf"
++CFG_FILE="/usr/share/vdr/dvdconvert/dvdconvert.conf"
+
+ VAL=`cat $CFG_FILE | grep ":$1:" | cut -f 3 -d ":"`
+ TYPE=`cat $CFG_FILE | grep ":$1:" | cut -f 4 -d ":"`
+diff -Naur dvdconvert-1.0.2.orig/scripts/setadmval.sh dvdconvert-1.0.2/scripts/setadmval.sh
+--- dvdconvert-1.0.2.orig/scripts/setadmval.sh 2007-01-05 20:09:55.284635374 +0100
++++ dvdconvert-1.0.2/scripts/setadmval.sh 2007-01-05 20:10:06.561277993 +0100
+@@ -1,5 +1,5 @@
+ #!/bin/sh
+-CFG_FILE="/etc/vdr/plugins/dvdconvert.conf"
++CFG_FILE="/usr/share/vdr/dvdconvert/dvdconvert.conf"
+
+ VAL=$2
+ NAME=$1
+diff -Naur dvdconvert-1.0.2.orig/scripts/start_dvd2dvd.sh dvdconvert-1.0.2/scripts/start_dvd2dvd.sh
+--- dvdconvert-1.0.2.orig/scripts/start_dvd2dvd.sh 2007-01-05 20:09:55.292635831 +0100
++++ dvdconvert-1.0.2/scripts/start_dvd2dvd.sh 2007-01-05 20:10:06.569278450 +0100
+@@ -1,10 +1,10 @@
+ #!/bin/bash
+
+-GETVAL="sh /usr/local/bin/getadmval.sh"
+-SETVAL="sh /usr/local/bin/setadmval.sh"
+-DVD2DVD_CFG="/etc/vdr/plugins/dvd2dvd.conf"
+-DVD2DVD="/usr/local/bin/dvd2dvd.sh"
+-LOG_FILE="/var/log/vdr/dvd2dvd.log"
++GETVAL="sh /usr/share/vdr/dvdconvert/bin/getadmval.sh"
++SETVAL="sh /usr/share/vdr/dvdconvert/bin/setadmval.sh"
++DVD2DVD_CFG="/etc/vdr/plugins/dvdconvert/dvdconvert"
++DVD2DVD="/usr/share/vdr/dvdconvert/bin/dvd2dvd.sh"
++LOG_FILE="/var/log/dvdconvert/dvd2dvd.log"
+
+ ACTION=`$GETVAL ACTION1`
+ echo "ACTION="$ACTION > $DVD2DVD_CFG
+diff -Naur dvdconvert-1.0.2.orig/scripts/start_dvd2vdr.sh dvdconvert-1.0.2/scripts/start_dvd2vdr.sh
+--- dvdconvert-1.0.2.orig/scripts/start_dvd2vdr.sh 2007-01-05 20:09:55.276634919 +0100
++++ dvdconvert-1.0.2/scripts/start_dvd2vdr.sh 2007-01-05 20:10:06.577278905 +0100
+@@ -1,10 +1,10 @@
+ #!/bin/bash
+
+-GETVAL="sh /usr/local/bin/getadmval.sh"
+-SETVAL="sh /usr/local/bin/setadmval.sh"
+-DVD2VDR_CFG="/etc/vdr/plugins/dvd2vdr.conf"
+-DVD2VDR="/usr/local/bin/dvd2vdr.sh"
+-LOG_FILE="/var/log/vdr/dvd2vdr.log"
++GETVAL="sh /usr/share/vdr/dvdconvert/bin/getadmval.sh"
++SETVAL="sh /usr/share/vdr/dvdconvert/bin/setadmval.sh"
++DVD2VDR_CFG="/etc/vdr/plugins/dvdconvert/dvdconvert"
++DVD2VDR="/usr/share/vdr/dvdconvert/bin/dvd2vdr.sh"
++LOG_FILE="/var/log/dvdconvert/dvd2vdr.log"
+
+ ACTION=`$GETVAL ACTION`
+ echo "ACTION="$ACTION > $DVD2VDR_CFG
diff --git a/media-plugins/vdr-dvdconvert/files/vdr-dvdconvert-1.0.2-vobcopy-perm.diff b/media-plugins/vdr-dvdconvert/files/vdr-dvdconvert-1.0.2-vobcopy-perm.diff
new file mode 100644
index 000000000000..b0e0f9ce51ea
--- /dev/null
+++ b/media-plugins/vdr-dvdconvert/files/vdr-dvdconvert-1.0.2-vobcopy-perm.diff
@@ -0,0 +1,84 @@
+fix permission problems with vobcopy, see
+
+http://www.vdr-portal.de/board/thread.php?postid=561530#post561530
+http://www.vdr-portal.de/board/thread.php?postid=561577#post561577
+
+Joerg Bornkessel <hd_brummy@gentoo.org> 06 Jan 2007
+diff -Naur dvdconvert-1.0.2.orig/scripts/dvd2dvd-1.0.2.sh dvdconvert-1.0.2/scripts/dvd2dvd-1.0.2.sh
+--- dvdconvert-1.0.2.orig/scripts/dvd2dvd-1.0.2.sh 2007-01-06 21:06:21.535061777 +0100
++++ dvdconvert-1.0.2/scripts/dvd2dvd-1.0.2.sh 2007-01-06 21:12:44.440882336 +0100
+@@ -708,20 +708,22 @@
+ sleep $SLEEPTIME
+ fi
+ done
++
++ [[ -e ${WORKDIR}/vobcopy_*.log ]] && rm -f ${WORKDIR}/vobcopy_*.log
+
+ case $ACTION_GETTITLE in
+ ${GETTITLE_TOOLS[0]})
+ ;;
+ ${GETTITLE_TOOLS[1]})
+ d2v_log "`echo && echo \$\> $VOBCOPY_BIN -i $DVD_DEVICE \
+- -v -v -I -L ${TEMPDIR} 2\> /dev/null`"
++ -v -v -I -L ${WORKDIR} 2\> /dev/null`"
+ $VOBCOPY_BIN -i $DVD_DEVICE -v -v -I \
+- -L ${TEMPDIR} 2> /dev/null && \
+- TITLE=`cat ${TEMPDIR}/vobcopy_*.log | \
++ -L ${WORKDIR} 2> /dev/null && \
++ TITLE=`cat ${WORKDIR}/vobcopy_*.log | \
+ grep 'Name of the dvd' | head -n 1 | awk '{print $6}'` && \
+- cat ${TEMPDIR}/vobcopy_*.log >> $LOGFILE
++ cat ${WORKDIR}/vobcopy_*.log >> $LOGFILE
+ if [ $TITLENUM = "AUTO" ] ; then
+- TITLENUM=`cat ${TEMPDIR}/vobcopy_*.log | \
++ TITLENUM=`cat ${WORKDIR}/vobcopy_*.log | \
+ grep 'Using Title' | head -n 1 | awk '{print $4}'`
+ fi
+ ;;
+@@ -1549,6 +1551,7 @@
+
+ [ $ACTION = "all" -o $CLEAN = 1 ] && rm -rf $TEMPDIR && d2v_log "\$TEMPDIR '$TEMPDIR' deleted"
+
++rm -f ${WORKDIR}/vobcopy_*.log
+ rm -f $LOCKFILE
+
+ d2v_log_separator
+diff -Naur dvdconvert-1.0.2.orig/scripts/dvd2vdr-1.0.1.sh dvdconvert-1.0.2/scripts/dvd2vdr-1.0.1.sh
+--- dvdconvert-1.0.2.orig/scripts/dvd2vdr-1.0.1.sh 2007-01-06 21:06:21.531061547 +0100
++++ dvdconvert-1.0.2/scripts/dvd2vdr-1.0.1.sh 2007-01-06 21:14:29.690880190 +0100
+@@ -640,20 +640,22 @@
+ sleep $SLEEPTIME
+ fi
+ done
++
++ [[ -e ${WORKDIR}/vobcopy_*.log ]] && rm -f ${WORKDIR}/vobcopy_*.log
+
+ case $ACTION_GETTITLE in
+ ${GETTITLE_TOOLS[0]})
+ ;;
+ ${GETTITLE_TOOLS[1]})
+ d2v_log "`echo && echo \$\> $VOBCOPY_BIN -i $DVD_DEVICE \
+- -v -v -I -L ${TEMPDIR} 2\> /dev/null`"
++ -v -v -I -L ${WORKDIR} 2\> /dev/null`"
+ $VOBCOPY_BIN -i $DVD_DEVICE -v -v -I \
+- -L ${TEMPDIR} 2> /dev/null && \
++ -L ${WORKDIR} 2> /dev/null && \
+ TITLE=`cat ${TEMPDIR}/vobcopy_*.log | \
+ grep 'Name of the dvd' | head -n 1 | awk '{print $6}'` && \
+- cat ${TEMPDIR}/vobcopy_*.log >> $LOGFILE
++ cat ${WORKDIR}/vobcopy_*.log >> $LOGFILE
+ if [ $TITLENUM = "AUTO" ] ; then
+- TITLENUM=`cat ${TEMPDIR}/vobcopy_*.log | \
++ TITLENUM=`cat ${WORKDIR}/vobcopy_*.log | \
+ grep 'Using Title' | head -n 1 | awk '{print $4}'`
+ fi
+ ;;
+@@ -1371,6 +1373,7 @@
+
+ [ $ACTION = "all" -a $CLEAN = 1 ] && rm -rf $TEMPDIR && d2v_log "\$TEMPDIR '$TEMPDIR' deleted"
+
++rm -f ${WORKDIR}/vobcopy_*.log
+ rm -f $LOCKFILE
+
+ d2v_log_separator
+