commit 1a03be7092cd50886c40e743d1998551565e12bd
parent 7b2b9b270933497a88c7a4ad012feaee65cb2791
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Mon, 3 Sep 2018 16:11:07 +0200
Fixed url in itunes_style_getter
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dotfiles/bin/itunes_style_getter b/dotfiles/bin/itunes_style_getter
@@ -34,12 +34,12 @@ while :; do
if [ -z "$album" ]; then
# If there's no album, query without an album
search_url="https://www.discogs.com/search/?q="$(sed -e 's/ /%20/g' -e 's/&/%26/g' <<< "$artist $name")
- echo "Querying: \"$artist $name\" (https://www.discogs.com/search/?q=$search_url)"
+ echo "Querying: \"$artist $name\" ($search_url)"
response=$(ruby /Users/alex/.bin/itunes_style_getter_helper.rb "$artist" "$name");
else
# Otherwise, add the album to query for precision
search_url="https://www.discogs.com/search/?q="$(sed -e 's/ /%20/g' -e 's/&/%26/g' <<< "$artist $album")
- echo "Querying: \"$artist $album\" (https://www.discogs.com/search/?q=$search_url)"
+ echo "Querying: \"$artist $album\" ($search_url)"
response=$(ruby /Users/alex/.bin/itunes_style_getter_helper.rb "$artist" "$album");
fi