v1.2 - bug fixes
This commit is contained in:
parent
d79dd573f5
commit
14cc7dfc6f
1 changed files with 5 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue