diff --git a/lidarr/BeetsTagger.bash b/lidarr/BeetsTagger.bash index 05663c7..0dffaef 100644 --- a/lidarr/BeetsTagger.bash +++ b/lidarr/BeetsTagger.bash @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.1" +scriptVersion="1.2" scriptName="BeetsTagger" #### Import Settings @@ -47,12 +47,12 @@ else fi ProcessWithBeets () { log "$1 :: Start Processing..." - if find "$1" -type f -iname "*.flac" -print0 | read; then + if find "$1" -type f -iname "*.flac" | read; then sleep 0.01 else - log "$1 :: ERROR :: Only supports flac files, exiting..." - return - fi + log "$1 :: ERROR :: Only supports flac files, exiting..." + return + fi SECONDS=0 @@ -135,5 +135,4 @@ NotifyPlex () { } ProcessWithBeets "$getFolderPath" -NotifyPlex "$getAlbumArtist" "$getAlbumArtistPath" exit