Allow cover search only using either artist, album or title

This commit is contained in:
Jonas Kvinge
2020-08-07 00:18:31 +02:00
parent 01481da773
commit 19f69e9e6c
8 changed files with 47 additions and 23 deletions

View File

@@ -98,8 +98,8 @@ void AlbumCoverFetcherSearch::Start(CoverProviders *cover_providers) {
continue;
}
// If album is missing, check if we can still use this provider by searching using artist + title.
if (!provider->allow_missing_album() && request_.album.isEmpty()) {
// If artist and album is missing, check if we can still use this provider by searching using title.
if (!provider->allow_missing_album() && request_.artist.isEmpty() && request_.album.isEmpty()) {
continue;
}