![]() |
Sayonara Player
|
#include <CoverLookup.h>
The CoverLookup class.
Signals | |
| void | sig_cover_found (const QString &file_path) |
| void | sig_finished (bool success) |
Public Member Functions | |
| CoverLookup (QObject *parent=nullptr, int n_covers=1) | |
| bool | fetch_cover (const CoverLocation &cl) |
| fetches cover for a CoverLocation. More... | |
| bool | fetch_album_cover_standard (const QString &artist, const QString &album_name) |
| uses CoverLocation(const QString& artist, const QString& album_name) More... | |
| bool | fetch_album_cover_sampler (const QStringList &artists, const QString &album_name) |
| uses CoverLocation(const QString& album_name, const QStringList& artists) More... | |
| bool | fetch_album_cover (const Album &album) |
| uses CoverLocation(const Album& album) More... | |
| bool | fetch_album_cover_by_id (int album_id, quint8 db_id) |
| uses CoverLocation(int album_id, int db_id); More... | |
| bool | fetch_artist_cover_standard (const QString &artist) |
| uses CoverLocation(const QString& artist); More... | |
| bool | fetch_artist_cover (const Artist &artist) |
| uses CoverLocation(const Artist& artist) More... | |
| bool | fetch_cover_by_searchstring (const QString &searchstring, const QString &target_name) |
| Sets CoverLocation::cover_path and CoverLocation::search_url and starts new CoverFetchThread. More... | |
| void | emit_standard_cover () |
| Emits the Sayonara logo. | |
| void | stop () override |
| not implemented | |
| bool CoverLookup::fetch_album_cover | ( | const Album & | album | ) |
| bool CoverLookup::fetch_album_cover_by_id | ( | int | album_id, |
| quint8 | db_id | ||
| ) |
uses CoverLocation(int album_id, int db_id);
| album_id | Album ID |
| db_id | Database ID |
| bool CoverLookup::fetch_album_cover_sampler | ( | const QStringList & | artists, |
| const QString & | album_name | ||
| ) |
uses CoverLocation(const QString& album_name, const QStringList& artists)
| artists | List of artist names |
| album_name | Album name |
| bool CoverLookup::fetch_album_cover_standard | ( | const QString & | artist, |
| const QString & | album_name | ||
| ) |
uses CoverLocation(const QString& artist, const QString& album_name)
| bool CoverLookup::fetch_artist_cover | ( | const Artist & | artist | ) |
| bool CoverLookup::fetch_artist_cover_standard | ( | const QString & | artist | ) |
| bool CoverLookup::fetch_cover | ( | const CoverLocation & | cl | ) |
fetches cover for a CoverLocation.
| cl | CoverLocation of interest |
| bool CoverLookup::fetch_cover_by_searchstring | ( | const QString & | searchstring, |
| const QString & | target_name | ||
| ) |
Sets CoverLocation::cover_path and CoverLocation::search_url and starts new CoverFetchThread.
| searchstring | a Google search string |
| target_name | target cover path |
1.8.12