Package Dependencies (apt-get install these for example):
lsdvd dvdauthor gddrescue dvdbackup tovid mencoder mplayer genisoimage libdvdcss2
+NOTE: In Ubuntu, depending on your version, replace libdvdcss2 with what you find on this page.
+ https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs
+
+NOTE: After apt-get install on Ubuntu you may need to run this:
+ sudo /usr/share/doc/libdvdread4/install-css.sh
+
Specific Executable (program) Dependencies (must be found in $PATH):
-volname makexml lsdvd dvdauthor gddrescue dvdbackup mencoder mplayer mkisofs
+volname makexml lsdvd dvdauthor ddrescue dvdbackup mencoder mplayer mkisofs
+
+NOTE: The script puts /usr/share/tovid on your path which should contain makexml
Optional Dependencies:
lookup imdb info/posters for mythvideo: http://www.mythtv.org/wiki/Fill_mythvideo_metadata.pl
# Known Issues/Limitations:
# - Mirror mode is always done in ISO mode
#
-# Package Dependencies (apt-get install these for example):
-# lsdvd dvdauthor gddrescue dvdbackup tovid mencoder mplayer genisoimage libdvdcss2
-#
-# Specific Executable (program) Dependencies (must be found in $PATH):
-# volname makexml lsdvd dvdauthor gddrescue dvdbackup mencoder mplayer mkisofs HandBrakeCLI
-#
-# Optional Dependencies:
-# lookup imdb info/posters for mythvideo: http://www.mythtv.org/wiki/Fill_mythvideo_metadata.pl
-#
+# See the README file for information about the dependencies
+# this script has.
##############################################################################################
# Global Variables
# NOTE: You can override ANY of the global variables listed in the top of rip_dvd here
###########################################################################################
-# specify the path to the rip_dvd script
-ripcmd="/myth/video/bin/rip_dvd"
+# specify the path to the rip_dvd script (no need to do this if rip_dvd is in
+# the same directory as the rip_dvd.wrap script (which is likely).
+# ripcmd="/myth/video/bin/rip_dvd"
# Specify the device path to the DVD drive
dev=/dev/dvd
usage
fi
+mydir=$(cd $(dirname $0) && pwd)
+if [ -z "$ripcmd" ]
+then
+ if [ -x "$mydir/rip_dvd" ]
+ then
+ ripcmd="$mydir/rip_dvd"
+ else
+ echo >&2 "Cannot find your rip_dvd command!"
+ exit 1
+ fi
+fi
+
##############################################################################
# Local Machine Settings:
# Sources both the "default" conf file tracked by GIT (rip_dvd.conf.dist)