Added the W: option
authordata <data@a0fa61bc-5347-0410-a1a9-7f54aa4e1825>
Thu, 4 Nov 2004 12:05:51 +0000 (12:05 +0000)
committerdata <data@a0fa61bc-5347-0410-a1a9-7f54aa4e1825>
Thu, 4 Nov 2004 12:05:51 +0000 (12:05 +0000)
git-svn-id: http://abcde.googlecode.com/svn/trunk@26 a0fa61bc-5347-0410-a1a9-7f54aa4e1825

TODO
abcde

diff --git a/TODO b/TODO
index 401e24f..7746bd4 100644 (file)
--- a/TODO
+++ b/TODO
@@ -27,3 +27,10 @@ TODO:
   since abcde sees the encoding already finished. Same with tags and moves.
 
 * Support UTF-8 tags
+
+* From slashdot: IMHO the most important aspect of an auto-ripper, is its
+  error-handling: what happens if a CD is too scratched to rip? How should it
+  react if someone tries to rip the exact same CD? make a new rip with another
+  name ? silently overwrite the old rip? etc.
+
+  Review the things that abcde does ;)
diff --git a/abcde b/abcde
index d6d35fb..bd8ead5 100755 (executable)
--- a/abcde
+++ b/abcde
@@ -1669,9 +1669,11 @@ pre_read ()
 :
 }
 
+###############################################################################
 # End of functions
 #
 # Start of execution
+###############################################################################
 
 # Builtin defaults
 CDDBURL="http://freedb.freedb.org/~cddb/cddb.cgi"
@@ -1861,7 +1863,7 @@ fi
 
 # Parse command line options
 #while getopts 1a:bc:C:d:Dhj:klLnNo:pr:S:t:T:vVx opt ; do
-while getopts 1a:A:bc:C:d:Dhj:klLnNo:pr:Rs:S:t:T:vVxw: opt ; do
+while getopts 1a:A:bc:C:d:Dhj:klLnNo:pr:Rs:S:t:T:vVxw:W: opt ; do
        case "$opt" in
                1) ONETRACK=y ;;
                a) ACTIONS="$OPTARG" ;;
@@ -1902,6 +1904,7 @@ while getopts 1a:A:bc:C:d:Dhj:klLnNo:pr:Rs:S:t:T:vVxw: opt ; do
                V) EXTRAVERBOSE="y" ;;
                x) EJECTCD="y" ;;
                w) COMMENT="$OPTARG" ;;
+               W) STARTTRACKNUMBER="${OPTARG}01" ; STARTTRACKNUMBERTAG="y" ; COMMENT="CD${OPTARG}" ;;
                ?) usage; exit ;;
        esac
 done