23 #ifndef ABSTRACTCOVERFETCHER_H 24 #define ABSTRACTCOVERFETCHER_H 30 namespace Cover::Fetcher
40 virtual QString priv_identifier()
const=0;
82 virtual QString
album_address(
const QString& artist,
const QString& album)
const;
101 #endif // ABSTRACTCOVERFETCHER_H virtual QString artist_address(const QString &artist) const
Get the artist search url. This is called if is_artist_supported returns true.
virtual QString search_address(const QString &str) const
Get a custom search address This is called if is_search_supported returns true.
The CoverFetcherInterface interface.
Definition: CoverFetcherInterface.h:36
virtual QString identifier() const final
get name of CoverFetcherInterface like e.g. Discogs
virtual QStringList parse_addresses(const QByteArray &website) const =0
Get addresses from the downloaded website. If can_fetch_cover_directly returns true,...
virtual QString album_address(const QString &artist, const QString &album) const
Get the album search url. This is called if is_album_supported returns true.
virtual bool can_fetch_cover_directly() const =0
Can the cover be fetched from the adress without starting a two-stage query?
virtual int estimated_size() const =0
get_estimated_size. Rough image size of the CoverFetchInterface