X-Git-Url: https://git.hcoop.net/clinton/abcde.git/blobdiff_plain/f97e22a3a87cc207445cfc34dab55692f5b39c49..76448acfe004a89d28ebaf481ac0f20ef75d6ae3:/abcde diff --git a/abcde b/abcde index e6b8aad..af7282d 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 @@ -959,6 +968,7 @@ do_playlist () ALBUMFILE=$(mungefilename "$DALBUM") ARTISTFILE=$(mungefilename "$DARTIST") GENRE=$(mungegenre "$GENRE") + YEAR=${CDYEAR:-$CDYEAR} if [ "$VARIOUSARTISTS" = "y" ] ; then PLAYLISTFILE=$(eval echo $VAPLAYLISTFORMAT) else @@ -1229,11 +1239,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 +1947,9 @@ pre_read () : } +# do_movecue +# Standalone function to move the CUE file to the final location + ############################################################################### # End of functions # @@ -2850,10 +2869,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.