|
Sayonara Player
|
The GoogleCoverFetcher class. See CoverFetcherInterface. More...
#include <Google.h>
Public Member Functions | |
| 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, this method is not called. | |
| QString | artistAddress (const QString &artist) const override |
| Get the artist search url. This is called if is_artist_supported 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. | |
| QString | radioSearchAddress (const QString &stationName, const QString &stationUrl) const override |
| int | estimatedSize () const override |
| get_estimated_size. Rough image size of the CoverFetchInterface | |
| virtual QString | identifier () const final |
| get name of CoverFetcherInterface like e.g. Discogs | |
| virtual bool | isWebserviceFetcher () const |
Protected Member Functions | |
| QString | searchStringFromRadioStation (const QString &stationName, const QString &stationUrl) const |
The GoogleCoverFetcher class. See CoverFetcherInterface.
|
overridevirtual |
Get the album search url. This is called if is_album_supported returns true.
| artist | artist name |
| album | album name |
Reimplemented from Cover::Fetcher::Base.
|
overridevirtual |
Get the artist search url. This is called if is_artist_supported returns true.
| artist | artist name |
Reimplemented from Cover::Fetcher::Base.
|
overridevirtual |
Can the cover be fetched from the adress without starting a two-stage query?
Implements Cover::Fetcher::Base.
|
overridevirtual |
get_estimated_size. Rough image size of the CoverFetchInterface
Implements Cover::Fetcher::Base.
|
overridevirtual |
Get a custom search address This is called if is_search_supported returns true.
| str | search string |
Reimplemented from Cover::Fetcher::Base.
|
finalvirtualinherited |
get name of CoverFetcherInterface like e.g. Discogs
|
overridevirtual |
Get addresses from the downloaded website. If can_fetch_cover_directly returns true, this method is not called.
| website | website data |
Implements Cover::Fetcher::Base.
|
overridevirtual |
Reimplemented from Cover::Fetcher::Base.