Bits for cue work, still under progress...
authordata <data@a0fa61bc-5347-0410-a1a9-7f54aa4e1825>
Thu, 4 Aug 2005 07:38:24 +0000 (07:38 +0000)
committerdata <data@a0fa61bc-5347-0410-a1a9-7f54aa4e1825>
Thu, 4 Aug 2005 07:38:24 +0000 (07:38 +0000)
git-svn-id: http://abcde.googlecode.com/svn/trunk@75 a0fa61bc-5347-0410-a1a9-7f54aa4e1825

abcde
abcde.1

diff --git a/abcde b/abcde
index e6b8aad..cf2c3e2 100755 (executable)
--- a/abcde
+++ b/abcde
@@ -823,9 +823,18 @@ do_encode ()
 #      done
 #}
 
 #      done
 #}
 
+# do_single_gain
+# variables used:
+# FIXME #
+do_single_gain ()
+{
+:
+}
+
 # do_batch_gain
 # variables used:
 # MP3GAIN, MP3GAINOPTS, VORBISGAIN, VORBISGAINOPTS
 # do_batch_gain
 # variables used:
 # MP3GAIN, MP3GAINOPTS, VORBISGAIN, VORBISGAINOPTS
+# FIXME #
 do_batch_gain ()
 {
        # The commands here don't go through run_command because they're never supposed to be silenced
 do_batch_gain ()
 {
        # The commands here don't go through run_command because they're never supposed to be silenced
@@ -1229,11 +1238,17 @@ do_discid ()
        echo "$TRACKINFO" > "$ABCDETEMPDIR/discid"
 }
 
        echo "$TRACKINFO" > "$ABCDETEMPDIR/discid"
 }
 
-# do_mkcue
-
-do_mkcue()
+# do_cleancue
+# Create a proper CUE file based on the CUE file we created before.
+do_cleancue()
 {
 {
-
+       if checkstatus cuefile; then :; else
+               $CUEFILE_INPUT="$ABCDETEMPDIR/cue-$(echo $TRACKINFO | cut -f1 -d' ').txt"
+               ### FIXME ### checkstatus cddb
+               if [ "$DOCDDB" = "y" ]; then
+               MARKER  
+               fi
+       fi
 }
 
 # do_cddbparse
 }
 
 # do_cddbparse
@@ -1931,6 +1946,9 @@ pre_read ()
 :
 }
 
 :
 }
 
+# do_movecue
+# Standalone function to move the CUE file to the final location
+
 ###############################################################################
 # End of functions
 #
 ###############################################################################
 # End of functions
 #
@@ -2850,10 +2868,12 @@ do
        fi
        ) &
 done
        fi
        ) &
 done
+
 # Lets move the cue file
 if checkstatus cuefile >/dev/null ; then 
        do_movecue
 fi
 # Lets move the cue file
 if checkstatus cuefile >/dev/null ; then 
        do_movecue
 fi
+
 # Go through it again and make sure there's no distmp3 stragglers, otherwise
 # we'll delete the files they're working on
 ## FIXME ## Check also for files which are encoded using PIPEs.
 # Go through it again and make sure there's no distmp3 stragglers, otherwise
 # we'll delete the files they're working on
 ## FIXME ## Check also for files which are encoded using PIPEs.
diff --git a/abcde.1 b/abcde.1
index 6f5946a..a70f978 100644 (file)
--- a/abcde.1
+++ b/abcde.1
@@ -1,4 +1,4 @@
-.TH ABCDE 1
+.TH abcde 1
 .SH NAME
 abcde \- Grab an entire CD and compress it to Ogg/Vorbis, MP3, FLAC, Ogg/Speex and/or MPP/MP+(Musepack) format.
 .SH SYNOPSIS
 .SH NAME
 abcde \- Grab an entire CD and compress it to Ogg/Vorbis, MP3, FLAC, Ogg/Speex and/or MPP/MP+(Musepack) format.
 .SH SYNOPSIS