#include <DiscogsCoverFetcher.h>
◆ calc_addresses_from_website()
QStringList DiscogsCoverFetcher::calc_addresses_from_website |
( |
const QByteArray & |
website | ) |
const |
|
overridevirtual |
Get addresses from the downloaded website. If can_fetch_cover_directly returns true, this method is not called.
- Parameters
-
- Returns
Implements CoverFetcherInterface.
◆ can_fetch_cover_directly()
bool DiscogsCoverFetcher::can_fetch_cover_directly |
( |
| ) |
const |
|
overridevirtual |
Can the cover be fetched from the adress without starting a two-stage query?
- Returns
Implements CoverFetcherInterface.
◆ get_album_address()
QString DiscogsCoverFetcher::get_album_address |
( |
const QString & |
artist, |
|
|
const QString & |
album |
|
) |
| const |
|
overridevirtual |
Get the album search url. This is called if is_album_supported returns true.
- Parameters
-
artist | artist name |
album | album name |
- Returns
Implements CoverFetcherInterface.
◆ get_artist_address()
QString DiscogsCoverFetcher::get_artist_address |
( |
const QString & |
artist | ) |
const |
|
overridevirtual |
Get the artist search url. This is called if is_artist_supported returns true.
- Parameters
-
- Returns
Implements CoverFetcherInterface.
◆ get_estimated_size()
int DiscogsCoverFetcher::get_estimated_size |
( |
| ) |
const |
|
overridevirtual |
get_estimated_size. Rough image size of the CoverFetchInterface
- Returns
- e.g. 300px
Implements CoverFetcherInterface.
◆ get_keyword()
QString DiscogsCoverFetcher::get_keyword |
( |
| ) |
const |
|
overridevirtual |
◆ get_search_address()
QString DiscogsCoverFetcher::get_search_address |
( |
const QString & |
str | ) |
const |
|
overridevirtual |
Get a custom search address This is called if is_search_supported returns true.
- Parameters
-
- Returns
Implements CoverFetcherInterface.
◆ is_album_supported()
bool DiscogsCoverFetcher::is_album_supported |
( |
| ) |
const |
|
overridevirtual |
◆ is_artist_supported()
bool DiscogsCoverFetcher::is_artist_supported |
( |
| ) |
const |
|
overridevirtual |
◆ is_search_supported()
bool DiscogsCoverFetcher::is_search_supported |
( |
| ) |
const |
|
overridevirtual |
Is text search supported.
- Returns
- true, if free text search is supported
Implements CoverFetcherInterface.