From 2d4ca0b139e50ad0012ffadfc6d405e9a5b13728 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Fri, 8 Sep 2023 18:30:44 +0000 Subject: [PATCH] v1.1 bug fix for copy-pasta... --- lidarr/ArtworkExtractor.bash | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lidarr/ArtworkExtractor.bash b/lidarr/ArtworkExtractor.bash index 2f0c955..21b3fb0 100644 --- a/lidarr/ArtworkExtractor.bash +++ b/lidarr/ArtworkExtractor.bash @@ -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##*.}"