v1.1 bug fix for copy-pasta...

This commit is contained in:
RandomNinjaAtk 2023-09-08 18:30:44 +00:00 committed by GitHub
parent 65c7cf93ff
commit 2d4ca0b139
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
#!/usr/bin/env bash
scriptVersion="1.0"
scriptVersion="1.1"
scriptName="ArtworkExtractor"
#### Import Settings
@ -43,11 +43,6 @@ else
exit
fi
if ls "$getFolderPath" | grep "lrc" | read; then
log "Processing :: $getAlbumFolderName :: Removing existing lrc files"
find "$getFolderPath" -type f -iname "*.lrc" -delete
fi
find "$getFolderPath" -type f -regex ".*/.*\.\(flac\|opus\|m4a\|mp3\)" -print0 | while IFS= read -r -d '' file; do
fileName=$(basename -- "$file")
fileExt="${fileName##*.}"