Bug fixes.

This commit is contained in:
deepjyoti30 2019-02-19 14:03:47 +05:30
parent 1ec31fc3b1
commit 09dfdfc8a0
1 changed files with 1 additions and 1 deletions

2
kunst
View File

@ -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')