From 09dfdfc8a069e0ca8f69692dce6eee1f0c8aac3e Mon Sep 17 00:00:00 2001 From: deepjyoti30 Date: Tue, 19 Feb 2019 14:03:47 +0530 Subject: [PATCH] Bug fixes. --- kunst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kunst b/kunst index 461792b..a6cafb5 100755 --- a/kunst +++ b/kunst @@ -38,7 +38,7 @@ get_cover_online() { fi # Try to get the album cover online from api.deezer.com - API_URL="http://api.deezer.com/search/autocomplete?q=$(mpc current)" && ur=${ur//' '/'%20'} + API_URL="http://api.deezer.com/search/autocomplete?q=$(mpc current)" && API_URL=${API_URL//' '/'%20'} # extract the albumcover from the json returned IMG_URL=$(curl -s "$API_URL" | jq -r '.playlists.data[0] | .picture_big')