From: Bastian Dehn Date: Sat, 7 Jul 2018 16:22:41 +0000 (+0200) Subject: change: cover not delete X-Git-Tag: v1.0.0^2~83 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=cedb057f498ebbf5a1025fae5ce75141bc247f20;p=albentohandy.git change: cover not delete Aus Kompatibilitaetsgruenden wird das cover.jpg nicht geloescht. Die Android Meiden Datenbank aktualisiert die covers nicht zuverlaessig --- diff --git a/albentohandy b/albentohandy index ed79975..c50e55d 100755 --- a/albentohandy +++ b/albentohandy @@ -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() {