Blacklist artist images from echonest using dead last.fm server.
(cherry picked from commit 5b4c0c920c98ab105146ed7b78218582c3624957)
This commit is contained in:
parent
42c21f0d03
commit
4bba0fda09
@ -55,7 +55,10 @@ void EchoNestImages::RequestFinished() {
|
||||
}
|
||||
|
||||
for (const Echonest::ArtistImage& image : request->artist_->images()) {
|
||||
emit ImageReady(request->id_, image.url());
|
||||
// Echonest still sends these broken URLs for last.fm.
|
||||
if (image.url().authority() != "userserve-ak.last.fm") {
|
||||
emit ImageReady(request->id_, image.url());
|
||||
}
|
||||
}
|
||||
|
||||
emit Finished(request->id_);
|
||||
|
Loading…
x
Reference in New Issue
Block a user