21#ifndef DIRECTFETCHER_H
22#define DIRECTFETCHER_H
24#include "CoverFetcher.h"
26namespace Cover::Fetcher
32 QString privateIdentifier()
const override;
41 QString
albumAddress(
const QString& artist,
const QString& album)
const override;
44 bool isWebserviceFetcher()
const override;
The CoverFetcherInterface interface.
Definition CoverFetcher.h:35
Definition DirectFetcher.h:30
int estimatedSize() const override
get_estimated_size. Rough image size of the CoverFetchInterface
QString artistAddress(const QString &artist) const override
Get the artist search url. This is called if is_artist_supported returns true.
bool canFetchCoverDirectly() const override
Can the cover be fetched from the adress without starting a two-stage query?
QStringList parseAddresses(const QByteArray &website) const override
Get addresses from the downloaded website. If can_fetch_cover_directly returns true,...
QString albumAddress(const QString &artist, const QString &album) const override
Get the album search url. This is called if is_album_supported returns true.
QString fulltextSearchAddress(const QString &str) const override
Get a custom search address This is called if is_search_supported returns true.