Fixed up menu to have both MKV and ISO choices.
authorAlan J. Pippin <alan@pippins.net>
Tue, 31 Jan 2012 04:08:56 +0000 (21:08 -0700)
committerAlan J. Pippin <ajp@pippins.net>
Tue, 31 Jan 2012 04:08:56 +0000 (21:08 -0700)
Made disk rip go to tmpdir first, then move into final position.

README
rip_dvd
rip_dvd_menu.xml

diff --git a/README b/README
index 235eb88a5e70054dbd5e40e40587a12bb541956e..f2f3320c865b96ddc54c270307aad7dcfcf9f79c 100644 (file)
--- a/README
+++ b/README
@@ -4,7 +4,7 @@ DEPENDENCIES
 The following packages need to be installed on your system:
 
 Package Dependencies (apt-get install these for example):
-lsdvd dvdauthor gddrescue dvdbackup tovid mencoder mplayer genisoimage libdvdcss2
+lsdvd dvdauthor gddrescue dvdbackup tovid mencoder mplayer genisoimage libdvdcss2 gpac ogmtools
 
 NOTE:  In Ubuntu, depending on your version, replace libdvdcss2 with what you find on this page.
   https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs
diff --git a/rip_dvd b/rip_dvd
index 90a3c5ef0e653fb61c188b172d3c725f5807f970..74290c0d8447920c3857822ad6ab11ba944cce92 100755 (executable)
--- a/rip_dvd
+++ b/rip_dvd
@@ -1842,12 +1842,14 @@ if [ $mirror_mode -eq 1 ]; then
 
   if [[ "$ripper" == "makemkv" ]]; then
       # use makemkv to make an MKV file of the disk
-      make_dvd_mkv_image "$dest/$dvdname.mkv" "disc" "$makemkv_disc_id"
+      make_dvd_mkv_image "$tmpdir/$dvdname.mkv" "disc" "$makemkv_disc_id"
+      mv "$tmpdir/$dvdname.mkv" "$dest/$dvdname.mkv"
       # add this video data to the mythtv DB
       fill_mythvideo_metadata "$dest_filename"
   else       
       # use ddrescue to make an ISO image of the disk
-      make_dvd_iso_image "$dest/$dvdname.iso"
+      make_dvd_iso_image "$tmpdir/$dvdname.iso"
+      mv "$tmpdir/$dvdname.iso" "$dest/$dvdname.iso"
       # add this video data to the mythtv DB
       fill_mythvideo_metadata "$dest_filename"
   fi
index 255bd05606097070a6e5c74b00ffb3a04569f7a1..ed79a51737d548de0e186bdea0cee10f9ddcd2a2 100644 (file)
@@ -2,68 +2,62 @@
 
    <button>
       <type>DVD_RIP</type>
-      <text>Rip Netflix DVD (FULL)</text>
-      <action>EXEC /myth/video/bin/rip_dvd.wrap netflix -m -r makemkv</action>
+      <text>Rip Netflix DVD (FULL MKV)</text>
+      <action>EXEC /myth/video/bin/rip_dvd.wrap netflix -m -R makemkv</action>
    </button>
 
    <button>
       <type>DVD_RIP</type>
-      <text>Rip Netflix DVD (MP4)</text>
-      <action>EXEC /myth/video/bin/rip_dvd.wrap netflix -b 2000 -z -r makemkv -p mp4hq</action>
+      <text>Rip Netflix DVD (FULL ISO)</text>
+      <action>EXEC /myth/video/bin/rip_dvd.wrap netflix -m -R ddrescue</action>
    </button>
 
    <button>
       <type>DVD_RIP</type>
-      <text>Rip Kid's DVD (MP4)</text>
-      <action>EXEC /myth/video/bin/rip_dvd.wrap childrens -b 2000 -z -r makemkv -p mp4hq</action>
+      <text>Rip Netflix DVD (MKV->MP4)</text>
+      <action>EXEC /myth/video/bin/rip_dvd.wrap netflix -b 2000 -z -R makemkv -p mp4hq</action>
    </button>
 
    <button>
       <type>DVD_RIP</type>
-      <text>Rip Kid's DVD (VOB)</text>
-      <action>EXEC /myth/video/bin/rip_dvd.wrap childrens -v</action>
+      <text>Rip Netflix DVD (ISO->MP4)</text>
+      <action>EXEC /myth/video/bin/rip_dvd.wrap netflix -b 2000 -z -R ddrescue -p mp4hq</action>
    </button>
 
    <button>
       <type>DVD_RIP</type>
-      <text>Rip Our DVD (MP4)</text>
-      <action>EXEC /myth/video/bin/rip_dvd.wrap collection -b 2000 -z -r makemkv -p mp4hq</action>
+      <text>Rip Kid's DVD (MKV->MP4)</text>
+      <action>EXEC /myth/video/bin/rip_dvd.wrap childrens -b 2000 -z -R makemkv -p mp4hq</action>
    </button>
 
    <button>
       <type>DVD_RIP</type>
-      <text>Rip Our DVD  (VOB)</text>
-      <action>EXEC /myth/video/bin/rip_dvd.wrap collection -v</action>
+      <text>Rip Kid's DVD (ISO->MP4)</text>
+      <action>EXEC /myth/video/bin/rip_dvd.wrap childrens -b 2000 -z -R ddrescue -p mp4hq</action>
    </button>
 
    <button>
       <type>DVD_RIP</type>
-      <text>Rip Church DVD (MP4)</text>
-      <action>EXEC /myth/video/bin/rip_dvd.wrap church -b 2000 -z -r makemkv -p mp4hq</action>
+      <text>Rip Our DVD (MKV->MP4)</text>
+      <action>EXEC /myth/video/bin/rip_dvd.wrap collection -b 2000 -z -R makemkv -p mp4hq</action>
    </button>
 
    <button>
       <type>DVD_RIP</type>
-      <text>Rip Church DVD  (VOB)</text>
-      <action>EXEC /myth/video/bin/rip_dvd.wrap church -v</action>
+      <text>Rip Our DVD (ISO->MP4)</text>
+      <action>EXEC /myth/video/bin/rip_dvd.wrap collection -b 2000 -z -R ddrescue -p mp4hq</action>
    </button>
 
    <button>
       <type>DVD_RIP</type>
-      <text>Rip Our DVD  (FOLDER)</text>
-      <action>EXEC /myth/video/bin/rip_dvd.wrap collection -f</action>
+      <text>Rip Church DVD (MKV->MP4)</text>
+      <action>EXEC /myth/video/bin/rip_dvd.wrap church -b 2000 -z -R makemkv -p mp4hq</action>
    </button>
 
    <button>
       <type>DVD_RIP</type>
-      <text>Rip Kid's DVD (FOLDER)</text>
-      <action>EXEC /myth/video/bin/rip_dvd.wrap childrens -f</action>
-   </button>
-
-   <button>
-      <type>DVD_RIP</type>
-      <text>Rip Church DVD (FOLDER)</text>
-      <action>EXEC /myth/video/bin/rip_dvd.wrap church -f</action>
+      <text>Rip Church DVD (ISO->MP4)</text>
+      <action>EXEC /myth/video/bin/rip_dvd.wrap church -b 2000 -z -R ddrescue -p mp4hq</action>
    </button>
 
 </mythmenu>