From f0d5d2ac402a99ef93b1e0fdea2d5f3252d06f29 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Thu, 21 Jan 2021 09:25:29 -0500 Subject: [PATCH] bugfix --- root/scripts/audio-pp.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/scripts/audio-pp.bash b/root/scripts/audio-pp.bash index be0ca7a..6998ab3 100644 --- a/root/scripts/audio-pp.bash +++ b/root/scripts/audio-pp.bash @@ -212,7 +212,7 @@ Main () { if find "$1" -type f -iregex ".*/.*\.\(flac\|opus\|m4a\|mp3\)" | read; then beet -c /config/scripts/config/beets-config.yaml -l /beets/library.blb -d "$1" import -q "$1" > /dev/null - if find "$1" -type f -iregex ".*/.*\.\(flac\|opus\|m4a\|mp3\)" -newer "beets-match" | read; then + if find "$1" -type f -iregex ".*/.*\.\(flac\|opus\|m4a\|mp3\)" -newer "/beets-match" | read; then echo "SUCCESS: Matched with beets!" else rm -rf "$1"/*