From 220dd9015eb3756ed2b6d257f31d1dc2dd34b3ee Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Thu, 21 Jan 2021 11:16:23 -0500 Subject: [PATCH] show beets --- root/scripts/audio-pp.bash | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/root/scripts/audio-pp.bash b/root/scripts/audio-pp.bash index 350dd39..00e8590 100644 --- a/root/scripts/audio-pp.bash +++ b/root/scripts/audio-pp.bash @@ -188,12 +188,13 @@ Main () { sleep 0.1 if find "$1" -type f -iregex ".*/.*\.\(flac\|opus\|m4a\|mp3\)" | read; then - beet -c /config/scripts/configs/beets-config.yaml -l /scripts/library.blb -d "$1" import -q "$1" > /dev/null + beet -c /config/scripts/configs/beets-config.yaml -l /scripts/library.blb -d "$1" import -q "$1" if find "$1" -type f -iregex ".*/.*\.\(flac\|opus\|m4a\|mp3\)" -newer "/scripts/beets-match" | read; then echo "SUCCESS: Matched with beets!" else rm -rf "$1"/* - echo "ERROR: Unable to match using beets to a musicbrainz release, marking download as failed..." && exit 1 + echo "ERROR: Unable to match using beets to a musicbrainz release, marking download as failed..." + exit 1 fi fi