v1.2 - bug fixes

This commit is contained in:
RandomNinjaAtk 2023-09-09 09:17:39 -04:00 committed by GitHub
parent d79dd573f5
commit 14cc7dfc6f
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.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