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