]> gitweb.hhaalo.de Git - albentohandy.git/commitdiff
change: cover not delete
authorBastian Dehn <hhaalo@arcor.de>
Sat, 7 Jul 2018 16:22:41 +0000 (18:22 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 7 Jul 2018 16:44:12 +0000 (18:44 +0200)
Aus Kompatibilitaetsgruenden wird das cover.jpg
nicht geloescht. Die Android Meiden Datenbank
aktualisiert die covers nicht zuverlaessig

albentohandy

index ed79975859ab3c80fd884a058e02ead3b61ea186..c50e55d6e92f840643ff9e6beda887c27cf51c1a 100755 (executable)
@@ -55,15 +55,12 @@ ConvertFlacToMp3() {
                $scriptdir/flactomp3v2 {}
 }
 
-CleanupFlacAndCovers() {
+CleanupFlac() {
        local readonly workdir="$1"
 
        find $workdir -name '*.flac' | \
                sort | \
                xargs rm
-       find $workdir -name 'cover*' | \
-               sort | \
-               xargs rm
 }
 
 CleanupWorkDir() {
@@ -222,8 +219,8 @@ ConvertProcess() {
        ConvertFlacToMp3 "$WORK" "$BASEFILE" "$parallelopts" "$SCRIPTPATH"
 
        printf "\nPhase %02d of %02d: " $((curphase++)) $phase
-       printf "remove flac's and cover's\n\n"
-       CleanupFlacAndCovers "$WORK"
+       printf "remove flac's\n\n"
+       CleanupFlac "$WORK"
 }
 
 AdvancedFeatures() {