#include <MusicInfoScraper.h>
◆ CMusicInfoScraper()
◆ ~CMusicInfoScraper()
CMusicInfoScraper::~CMusicInfoScraper |
( |
void | | ) |
|
|
override |
◆ Cancel()
void CMusicInfoScraper::Cancel |
( |
| ) |
|
◆ CheckValidOrFallback()
bool CMusicInfoScraper::CheckValidOrFallback |
( |
const std::string & | fallbackScraper | ) |
|
Checks whether we have a valid scraper. If not, we try the fallbackScraper First tests the current scraper for validity by loading it. If it is not valid we attempt to load the fallback scraper. If this is also invalid we return false.
- Parameters
-
fallbackScraper | name of scraper to use as a fallback |
- Returns
- true if we have a valid scraper (or the default is valid).
- Todo
- Handle fallback mechanism
◆ Completed()
bool CMusicInfoScraper::Completed |
( |
| ) |
|
◆ FindAlbumInfo() [1/2]
void CMusicInfoScraper::FindAlbumInfo |
( |
| ) |
|
|
protected |
◆ FindAlbumInfo() [2/2]
void CMusicInfoScraper::FindAlbumInfo |
( |
const std::string & | strAlbum, |
|
|
const std::string & | strArtist = "" ) |
◆ FindArtistInfo() [1/2]
void CMusicInfoScraper::FindArtistInfo |
( |
| ) |
|
|
protected |
◆ FindArtistInfo() [2/2]
void CMusicInfoScraper::FindArtistInfo |
( |
const std::string & | strArtist | ) |
|
◆ GetAlbum()
◆ GetAlbumCount()
int CMusicInfoScraper::GetAlbumCount |
( |
| ) |
const |
◆ GetAlbums()
std::vector< CMusicAlbumInfo > & MUSIC_GRABBER::CMusicInfoScraper::GetAlbums |
( |
| ) |
|
|
inline |
◆ GetArtist()
◆ GetArtistCount()
int CMusicInfoScraper::GetArtistCount |
( |
| ) |
const |
◆ GetArtists()
std::vector< CMusicArtistInfo > & MUSIC_GRABBER::CMusicInfoScraper::GetArtists |
( |
| ) |
|
|
inline |
◆ IsCanceled()
bool CMusicInfoScraper::IsCanceled |
( |
| ) |
|
◆ LoadAlbumInfo() [1/2]
void CMusicInfoScraper::LoadAlbumInfo |
( |
| ) |
|
|
protected |
◆ LoadAlbumInfo() [2/2]
void CMusicInfoScraper::LoadAlbumInfo |
( |
int | iAlbum | ) |
|
◆ LoadArtistInfo() [1/2]
void CMusicInfoScraper::LoadArtistInfo |
( |
| ) |
|
|
protected |
◆ LoadArtistInfo() [2/2]
void CMusicInfoScraper::LoadArtistInfo |
( |
int | iArtist, |
|
|
const std::string & | strSearch ) |
◆ OnStartup()
void CMusicInfoScraper::OnStartup |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ Process()
void CMusicInfoScraper::Process |
( |
void | | ) |
|
|
overrideprotectedvirtual |
◆ SetScraperInfo()
◆ Succeeded()
bool CMusicInfoScraper::Succeeded |
( |
| ) |
|
◆ m_bCanceled
bool MUSIC_GRABBER::CMusicInfoScraper::m_bCanceled |
|
protected |
◆ m_bSucceeded
bool MUSIC_GRABBER::CMusicInfoScraper::m_bSucceeded |
|
protected |
◆ m_http
◆ m_iAlbum
int MUSIC_GRABBER::CMusicInfoScraper::m_iAlbum |
|
protected |
◆ m_iArtist
int MUSIC_GRABBER::CMusicInfoScraper::m_iArtist |
|
protected |
◆ m_scraper
◆ m_strAlbum
std::string MUSIC_GRABBER::CMusicInfoScraper::m_strAlbum |
|
protected |
◆ m_strArtist
std::string MUSIC_GRABBER::CMusicInfoScraper::m_strArtist |
|
protected |
◆ m_strSearch
std::string MUSIC_GRABBER::CMusicInfoScraper::m_strSearch |
|
protected |
◆ m_vecAlbums
◆ m_vecArtists
The documentation for this class was generated from the following files: