]> code.delx.au - transcoding/commitdiff
rip-dvd fixes
authorJames Bunton <jamesbunton@delx.net.au>
Sun, 8 Mar 2015 03:31:44 +0000 (14:31 +1100)
committerJames Bunton <jamesbunton@delx.net.au>
Sun, 8 Mar 2015 03:31:44 +0000 (14:31 +1100)
rip-dvd

diff --git a/rip-dvd b/rip-dvd
index 588da09681ddae3486d71f100e4d91102ca004d7..690480ac27a95178036bc5a32a3b4566d8690175 100755 (executable)
--- a/rip-dvd
+++ b/rip-dvd
@@ -27,7 +27,7 @@ next="${base}${num}"
 rm -rf ~/.dvdcss
 
 # Need to use libdvdread/libdvdcss to unlock the drive before copying
-identify-dvd "$DVD_DEVICE"
+identify-disc --dvd-device "$DVD_DEVICE"
 
 
 echo
@@ -44,7 +44,7 @@ set -x
 rm -rf "${next}" "${next}.iso"
 ddrescue -n -b 2048 "$DVD_DEVICE" "${next}.iso"
 dvdbackup -n "$next" -M -i "${next}.iso" || true
-identify-dvd "$next"
+identify-disc --dvd-device "$next"
 rm "${next}.iso"
 eject "$DVD_DEVICE"