29 #ifndef COVERLOOKUP_H_
30 #define COVERLOOKUP_H_
51 void sig_finished(
bool);
54 virtual void stop()=0;
86 CoverLookup(QObject* parent=
nullptr,
int n_covers=1);
162 void stop()
override;
bool fetch_cover(const CoverLocation &cl)
fetches cover for a CoverLocation.
bool fetch_album_cover_sampler(const QStringList &artists, const QString &album_name)
uses CoverLocation(const QString& album_name, const QStringList& artists)
bool fetch_album_cover_standard(const QString &artist, const QString &album_name)
uses CoverLocation(const QString& artist, const QString& album_name)
The CoverLookupInterface class.
Definition: CoverLookup.h:45
bool fetch_album_cover_by_id(int album_id, quint8 db_id)
uses CoverLocation(int album_id, int db_id);
The CoverLocation class.
Definition: CoverLocation.h:37
void stop() override
Not implemented.
bool fetch_cover_by_searchstring(const QString &searchstring, const QString &target_name)
Sets CoverLocation::cover_path and CoverLocation::search_url and starts new CoverFetchThread.
bool fetch_artist_cover_standard(const QString &artist)
uses CoverLocation(const QString& artist);
The Album class.
Definition: Album.h:41
bool fetch_album_cover(const Album &album)
uses CoverLocation(const Album& album)
bool fetch_artist_cover(const Artist &artist)
uses CoverLocation(const Artist& artist)
void emit_standard_cover()
Emits the Sayonara logo.
The Artist class.
Definition: Artist.h:36
The CoverLookup class.
Definition: CoverLookup.h:65
std::shared_ptr< CoverLookup > CoverLookupPtr
CoverLookupPtr.
Definition: CoverLookup.h:180