21 #ifndef COVERFETCHMANAGER_H 22 #define COVERFETCHMANAGER_H 24 #include "Utils/Singleton.h" 25 #include "Utils/Pimpl.h" 91 const QString& cover_fetcher_identifier)
const;
111 bool isActive(
const QString& identifier)
const;
124 static bool isSearchstringWebsite(
const QString& searchstring);
128 void serversChanged();
133 #endif // COVERFETCHMANAGER_H QList< Url > searchAddresses(const QString &str) const
get urls for a fuzzy query
An Url is defined by its identifier and a custom url string. The identifier is the same as being used...
Definition: CoverFetcherUrl.h:16
void registerCoverFetcher(Cover::Fetcher::Base *t)
Register a cover fetcher. Per default there is one for Discogs, last.fm and Google.
The CoverFetcherInterface interface.
Definition: CoverFetcher.h:34
Url directFetcherUrl(const QString &url)
If the LibraryItem has a reference to a cover download url an appropriate Url object can be retrieved...
QList< Url > albumAddresses(const QString &artist, const QString &album) const
get urls for a album search query
QList< Url > artistAddresses(const QString &artist) const
get urls for a artist search query
Retrieve Download Urls for Cover Searcher. CoverFetcherInterface can be registered,...
Definition: CoverFetchManager.h:45
Cover::Fetcher::Base * coverfetcher(const Url &url) const
get a CoverFetcherInterface by a specific url
QList< Cover::Fetcher::Base * > coverfetchers() const
fetches all available cover fetcher
Definition: EngineUtils.h:33