23 #ifndef STANDARDCOVERFETCHER_H 24 #define STANDARDCOVERFETCHER_H 26 #include "CoverFetcherInterface.h" 46 QString
album_address(
const QString& artist,
const QString& album)
const override;
53 QString
keyword()
const override;
59 #endif // STANDARDCOVERFETCHER_H The StandardCoverFetcher class. Convenience class for local cover search. See CoverFetcherInterface.
Definition: StandardCoverFetcher.h:39
QString album_address(const QString &artist, const QString &album) const override
Get the album search url. This is called if is_album_supported returns true.
bool is_search_supported() const override
Is text search supported.
QString artist_address(const QString &artist) const override
Get the artist search url. This is called if is_artist_supported returns true.
The CoverFetcherInterface interface.
Definition: CoverFetcherInterface.h:39
QString search_address(const QString &str) const override
Get a custom search address This is called if is_search_supported returns true.
bool is_artist_supported() const override
is artist search supported
QString keyword() const override
get name of CoverFetcherInterface like e.g. Discogs
bool is_album_supported() const override
is album search supported
Definition: SomaFMStation.h:33
QStringList calc_addresses_from_website(const QByteArray &website) const override
Get addresses from the downloaded website. If can_fetch_cover_directly returns true, this method is not called.
bool can_fetch_cover_directly() const override
Can the cover be fetched from the adress without starting a two-stage query?
int estimated_size() const override
get_estimated_size. Rough image size of the CoverFetchInterface