Bug fixes.
This commit is contained in:
parent
1ec31fc3b1
commit
09dfdfc8a0
2
kunst
2
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')
|
||||
|
|
Loading…
Reference in New Issue