21 #ifndef COVERFETCHMANAGER_H 22 #define COVERFETCHMANAGER_H 24 #include "Utils/Singleton.h" 25 #include "Utils/Pimpl.h" 47 FetchUrl(
bool active,
const QString& identifier,
const QString& url) :
48 active(active), identifier(identifier), url(url)
107 const QString& cover_fetcher_identifier,
bool also_inactive)
const;
126 bool is_active(
const QString& identifier)
const;
128 QString identifier_by_url(
const QString& url)
const;
132 void servers_changed();
137 #endif // COVERFETCHMANAGER_H Definition: CoverFetchManager.h:34
The CoverFetcherInterface interface.
Definition: CoverFetcherInterface.h:36
void register_coverfetcher(Cover::Fetcher::Base *t)
Register a cover fetcher. Per default there is one for Discogs, last.fm and Google.
Retrieve Download Urls for Cover Searcher. CoverFetcherInterface can be registered,...
Definition: CoverFetchManager.h:61
QList< FetchUrl > search_addresses(const QString &str, bool also_inactive) const
get urls for a fuzzy query
QList< FetchUrl > artist_addresses(const QString &artist, bool also_inactive) const
get urls for a artist search query
QList< FetchUrl > album_addresses(const QString &artist, const QString &album, bool also_inactive) const
get urls for a album search query
Cover::Fetcher::Base * coverfetcher(const QString &url) const
get a CoverFetcherInterface by a specific url
QList< Cover::Fetcher::Base * > coverfetchers() const
fetches all available cover fetcher
Definition: org_mpris_media_player2_adaptor.h:20