v1.1 bug fix for copy-pasta...
This commit is contained in:
parent
65c7cf93ff
commit
2d4ca0b139
1 changed files with 1 additions and 6 deletions
|
@ -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##*.}"
|
||||
|
|
Loading…
Reference in a new issue