commit 9692dc860cb1433ae558e1c0a99b8f96467456e7
parent 92d7e0ac0783e8a46a2517121edb8f70d6ad512c
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Mon, 3 Dec 2018 15:00:31 +0100
Don't crash if track isn't found on Discogs
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/bin/itunes_style_getter b/bin/itunes_style_getter
@@ -64,9 +64,10 @@ while :; do
# If there's no url, there's no result
if [ -z "$url" ]; then
- echo "Not found."
- exit 1
+ echo -e "\nNot found.\n"
+ continue
fi
+
IFS="$oldifs"
# Give the user the source information