Optional Dependencies:
lookup imdb info/posters for mythvideo: http://www.mythtv.org/wiki/Fill_mythvideo_metadata.pl
+Windows Dependencies:
+To play back the videos in windows that use the divx encoding profiles, you'll
+need to download and install the xvid codec:
+http://www.koepi.info/xvid.html
+
----------------------------------------------
INSTALL
----------------------------------------------
and place it in any xml file you want to get it on the menu you want.
I choose to place it on the optical menu.
+The menu items in these examples call the rip_dvd.wrap script.
+This is a simple script I wrote to implementation hide the full
+command line options for rip_dvd from the mythtv menu system.
+I also use this wrapper script to determine where to put the
+ripped DVD images. You can copy this example and call it something
+else on your system and change it appropriately to meet your needs.
+
----------------------------------------------
COMMAND LINE EXAMPLES
----------------------------------------------
# in a way that won't get clobbered when you pull updates from my GIT repo.
##############################################################################
config="${0%/*}/rip_dvd.conf"
-[ -e "${config}.dist" ] && . ${config}.dist
-[ -e "${config}" ] && . ${config}
+
+# The config file will be searched for in the following location order:
+found_config=0
+
+# 1) /path/to/rip_dvd/script/rip_dvd.conf.dist
+[ -e "${config}.dist" ] && found_config=1 && . "${config}.dist"
+
+# 2) /path/to/rip_dvd/script/rip_dvd.conf
+[ -e "${config}" ] && found_config=1 && . "${config}"
+
+# 3) /etc/rip_dvd.conf
+[ -e "/etc/rip_dvd.conf" ] && found_config=1 && . "/etc/rip_dvd.conf"
+
+# 4) $PWD/rip_dvd.conf
+[ -e "$PWD/rip_dvd.conf" ] && found_config=1 && . "$PWD/rip_dvd.conf"
+
+# Check to make sure we found the config file
+if [ $found_config -eq 0 ]; then
+ echo "-E- Unable to find the rip_dvd.conf file: $config"
+ exit 1
+fi
##############################################
# get the name of the DVD from the DVD disk