![]() |
Sayonara Player
|
Retrieve Download Urls for Cover Searcher. CoverFetcherInterface can be registered, so for example a last.fm cover fetcher via the register_cover_fetcher method. A specific CoverFetcherInterface may be retrieved by using the get_coverfetcher method. More...
#include <CoverFetchManager.h>
Public Member Functions | |
| void | registerCoverFetcher (Cover::Fetcher::Base *t) |
| Register a cover fetcher. Per default there is one for Discogs, last.fm and Google. More... | |
| QList< Url > | artistAddresses (const QString &artist) const |
| get urls for a artist search query More... | |
| QList< Url > | albumAddresses (const QString &artist, const QString &album) const |
| get urls for a album search query More... | |
| QList< Url > | searchAddresses (const QString &str) const |
| get urls for a fuzzy query More... | |
| QList< Url > | searchAddresses (const QString &str, const QString &cover_fetcher_identifier) const |
| get urls for a fuzzy query More... | |
| Cover::Fetcher::Base * | coverfetcher (const Url &url) const |
| get a CoverFetcherInterface by a specific url More... | |
| QList< Cover::Fetcher::Base * > | coverfetchers () const |
| fetches all available cover fetcher More... | |
| QList< Cover::Fetcher::Base * > | activeCoverfetchers () const |
| QList< Cover::Fetcher::Base * > | inactiveCoverfetchers () const |
| bool | isActive (const Cover::Fetcher::Base *cfi) const |
| bool | isActive (const QString &identifier) const |
| Url | directFetcherUrl (const QString &url) |
| If the LibraryItem has a reference to a cover download url an appropriate Url object can be retrieved here. The corresponding Cover::Fetcher is Cover::Fetcher::DirectFetcher. More... | |
Static Public Member Functions | |
| static bool | isSearchstringWebsite (const QString &searchstring) |
Retrieve Download Urls for Cover Searcher. CoverFetcherInterface can be registered, so for example a last.fm cover fetcher via the register_cover_fetcher method. A specific CoverFetcherInterface may be retrieved by using the get_coverfetcher method.
| QList<Url> Cover::Fetcher::Manager::albumAddresses | ( | const QString & | artist, |
| const QString & | album | ||
| ) | const |
get urls for a album search query
| artist | artist name |
| album | album name |
get urls for a artist search query
| artist | name |
| Cover::Fetcher::Base* Cover::Fetcher::Manager::coverfetcher | ( | const Url & | url | ) | const |
get a CoverFetcherInterface by a specific url
| url | the url retrieved from artist_addresses(), album_addresses(), search_addresses() or direct_fetch_url() |
| QList<Cover::Fetcher::Base*> Cover::Fetcher::Manager::coverfetchers | ( | ) | const |
fetches all available cover fetcher
| Url Cover::Fetcher::Manager::directFetcherUrl | ( | const QString & | url | ) |
If the LibraryItem has a reference to a cover download url an appropriate Url object can be retrieved here. The corresponding Cover::Fetcher is Cover::Fetcher::DirectFetcher.
| url | the direct download url |
| void Cover::Fetcher::Manager::registerCoverFetcher | ( | Cover::Fetcher::Base * | t | ) |
get urls for a fuzzy query
| str | query string |
1.8.15