Added new moviedir option and makemkv only copy largest mkv option.
[rip_dvd/.git] / rip_dvd.wrap
index 95af1e951230117cc8a45d7d9147e700bc9ba9f0..3dc8f3aae719e4805bf1f1f48f80a893db38bcd9 100755 (executable)
@@ -97,27 +97,27 @@ dvdname=${dvdname%.} # remove trailing '.' character
 #   since these are only kept around until we watch them,
 #   there is no need to do anything less than full iso.
 # - collection = Only DVD main feature is ripped
-# - childrens = Only DVD main feature is ripped
+# - children = Only DVD main feature is ripped
 # - church = Only DVD main feature is ripped
 rip_opts="$* -j 2"
 if [ "$dvdtype" == "netflix" ]; then
   echo "-> Ripping Netflix DVD"
-  dest=/myth/video/Movies/Netflix
+  dest="$moviedir/Netflix"
   rip_opts="$rip_opts"
 elif [ "$dvdtype" == "collection" ]; then
   echo "-> Ripping Personal Collection DVD"
-  dest=/myth/video/Movies/Collection
+  dest="$moviedir/Collection"
   rip_opts="$rip_opts"
-elif [ "$dvdtype" == "childrens" ]; then
+elif [ "$dvdtype" == "children" ]; then
   echo "-> Ripping Children's DVD"
-  dest=/myth/video/Movies/Childrens
+  dest="$moviedir/Children"
   rip_opts="$rip_opts"
 elif [ "$dvdtype" == "church" ]; then
   echo "-> Ripping Church DVD"
-  dest=/myth/video/Movies/Church
+  dest="$moviedir/Church"
   rip_opts="$rip_opts"
 else
-  echo '-E- Must specify dvdtype as "netflix" or "collection" or "childrens" or "church"'
+  echo '-E- Must specify dvdtype as "netflix" or "collection" or "children" or "church"'
   exit 1
 fi