From 79c8f4d077ebcaa2c896e8a2964651f6fae3dd6d Mon Sep 17 00:00:00 2001 From: data Date: Thu, 4 Aug 2005 07:38:24 +0000 Subject: [PATCH] Bits for cue work, still under progress... git-svn-id: http://abcde.googlecode.com/svn/trunk@75 a0fa61bc-5347-0410-a1a9-7f54aa4e1825 --- abcde | 28 ++++++++++++++++++++++++---- abcde.1 | 2 +- 2 files changed, 25 insertions(+), 5 deletions(-) diff --git a/abcde b/abcde index e6b8aad..cf2c3e2 100755 --- a/abcde +++ b/abcde @@ -823,9 +823,18 @@ do_encode () # done #} +# do_single_gain +# variables used: +# FIXME # +do_single_gain () +{ +: +} + # 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 @@ -1229,11 +1238,17 @@ do_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 @@ -1931,6 +1946,9 @@ pre_read () : } +# do_movecue +# Standalone function to move the CUE file to the final location + ############################################################################### # End of functions # @@ -2850,10 +2868,12 @@ do fi ) & done + # 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. diff --git a/abcde.1 b/abcde.1 index 6f5946a..a70f978 100644 --- 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 -- 2.20.1