![]() |
Sayonara Player
|
#include <CoverFetcherInterface.h>
The CoverFetcherInterface interface.
Public Member Functions | |
| virtual bool | can_fetch_cover_directly () const =0 |
| Can the cover be fetched from the adress without starting a two-stage query? More... | |
| virtual QStringList | calc_addresses_from_website (const QByteArray &website) const =0 |
| Get addresses from the downloaded website. If can_fetch_cover_directly returns true, this method is not called. More... | |
| virtual QString | get_keyword () const =0 |
| get name of CoverFetcherInterface like e.g. Discogs More... | |
| virtual QString | get_artist_address (const QString &artist) const =0 |
| Get the artist search url. This is called if is_artist_supported returns true. More... | |
| virtual QString | get_album_address (const QString &artist, const QString &album) const =0 |
| Get the album search url. This is called if is_album_supported returns true. More... | |
| virtual QString | get_search_address (const QString &str) const =0 |
| Get a custom search address This is called if is_search_supported returns true. More... | |
| virtual bool | is_search_supported () const =0 |
| Is text search supported. More... | |
| virtual bool | is_album_supported () const =0 |
| is album search supported More... | |
| virtual bool | is_artist_supported () const =0 |
| is artist search supported More... | |
| virtual int | get_estimated_size () const =0 |
| get_estimated_size. Rough image size of the CoverFetchInterface More... | |
|
pure virtual |
Get addresses from the downloaded website. If can_fetch_cover_directly returns true, this method is not called.
| website | website data |
Implemented in DiscogsCoverFetcher, GoogleCoverFetcher, LFMCoverFetcher, and StandardCoverFetcher.
|
pure virtual |
Can the cover be fetched from the adress without starting a two-stage query?
Implemented in DiscogsCoverFetcher, GoogleCoverFetcher, LFMCoverFetcher, and StandardCoverFetcher.
|
pure virtual |
Get the album search url. This is called if is_album_supported returns true.
| artist | artist name |
| album | album name |
Implemented in DiscogsCoverFetcher, GoogleCoverFetcher, LFMCoverFetcher, and StandardCoverFetcher.
|
pure virtual |
Get the artist search url. This is called if is_artist_supported returns true.
| artist | artist name |
Implemented in DiscogsCoverFetcher, GoogleCoverFetcher, LFMCoverFetcher, and StandardCoverFetcher.
|
pure virtual |
get_estimated_size. Rough image size of the CoverFetchInterface
Implemented in DiscogsCoverFetcher, StandardCoverFetcher, GoogleCoverFetcher, and LFMCoverFetcher.
|
pure virtual |
get name of CoverFetcherInterface like e.g. Discogs
Implemented in DiscogsCoverFetcher, StandardCoverFetcher, GoogleCoverFetcher, and LFMCoverFetcher.
|
pure virtual |
Get a custom search address This is called if is_search_supported returns true.
| str | search string |
Implemented in DiscogsCoverFetcher, GoogleCoverFetcher, LFMCoverFetcher, and StandardCoverFetcher.
|
pure virtual |
is album search supported
Implemented in DiscogsCoverFetcher, GoogleCoverFetcher, LFMCoverFetcher, and StandardCoverFetcher.
|
pure virtual |
is artist search supported
Implemented in DiscogsCoverFetcher, GoogleCoverFetcher, LFMCoverFetcher, and StandardCoverFetcher.
|
pure virtual |
Is text search supported.
Implemented in DiscogsCoverFetcher, GoogleCoverFetcher, LFMCoverFetcher, and StandardCoverFetcher.
1.8.13