#include <VideoInfoDownloader.h>
|
| CVideoInfoDownloader (const ADDON::ScraperPtr &scraper) |
|
| ~CVideoInfoDownloader () override |
|
int | FindMovie (const std::string &movieTitle, int movieYear, MOVIELIST &movielist, CGUIDialogProgress *pProgress=NULL) |
| Do a search for matching media items (possibly asynchronously) with our scraper. More...
|
|
bool | GetArtwork (CVideoInfoTag &details) |
| Fetch art URLs for an item with our scraper. More...
|
|
bool | GetDetails (const CScraperUrl &url, CVideoInfoTag &movieDetails, CGUIDialogProgress *pProgress=NULL) |
|
bool | GetEpisodeDetails (const CScraperUrl &url, CVideoInfoTag &movieDetails, CGUIDialogProgress *pProgress=NULL) |
|
bool | GetEpisodeList (const CScraperUrl &url, VIDEO::EPISODELIST &details, CGUIDialogProgress *pProgress=NULL) |
|
| CThread (IRunnable *pRunnable, const char *ThreadName) |
|
virtual | ~CThread () |
|
void | Create (bool bAutoDelete=false, unsigned stacksize=0) |
|
void | Sleep (unsigned int milliseconds) |
|
int | GetSchedRRPriority (void) |
|
bool | SetPrioritySched_RR (int iPriority) |
|
bool | IsAutoDelete () const |
|
virtual void | StopThread (bool bWait=true) |
|
bool | IsRunning () const |
|
bool | IsCurrentThread () const |
|
int | GetMinPriority (void) |
|
int | GetMaxPriority (void) |
|
int | GetNormalPriority (void) |
|
int | GetPriority (void) |
|
bool | SetPriority (const int iPriority) |
|
bool | WaitForThreadExit (unsigned int milliseconds) |
|
float | GetRelativeUsage () |
|
int64_t | GetAbsoluteUsage () |
|
virtual void | OnException () |
|
◆ LOOKUP_STATE
Enumerator |
---|
DO_NOTHING | |
FIND_MOVIE | |
GET_DETAILS | |
GET_EPISODE_LIST | |
GET_EPISODE_DETAILS | |
◆ CVideoInfoDownloader()
◆ ~CVideoInfoDownloader()
CVideoInfoDownloader::~CVideoInfoDownloader |
( |
| ) |
|
|
override |
◆ CloseThread()
void CVideoInfoDownloader::CloseThread |
( |
| ) |
|
|
protected |
◆ FindMovie()
Do a search for matching media items (possibly asynchronously) with our scraper.
- Parameters
-
movieTitle | title of the media item to look for |
movieYear | year of the media item to look for (-1 if not known) |
movielist | [out] list of results to fill. May be empty on success. |
pProgress | progress bar to update as we go. If NULL we run on thread, if non-NULL we run off thread. |
- Returns
- 1 on success, -1 on a scraper-specific error, 0 on some other error
◆ GetArtwork()
Fetch art URLs for an item with our scraper.
- Parameters
-
details | the video info tag structure to fill with art. |
- Returns
- true on success, false on failure.
◆ GetDetails()
◆ GetEpisodeDetails()
◆ GetEpisodeList()
◆ InternalFindMovie()
int CVideoInfoDownloader::InternalFindMovie |
( |
const std::string & |
movieTitle, |
|
|
int |
movieYear, |
|
|
MOVIELIST & |
movielist, |
|
|
bool |
cleanChars = true |
|
) |
| |
|
protected |
◆ Process()
void CVideoInfoDownloader::Process |
( |
void |
| ) |
|
|
overrideprotectedvirtual |
◆ ShowErrorDialog()
◆ m_episode
◆ m_found
int CVideoInfoDownloader::m_found |
|
protected |
◆ m_http
◆ m_info
◆ m_movieDetails
◆ m_movieList
◆ m_movieTitle
std::string CVideoInfoDownloader::m_movieTitle |
|
protected |
◆ m_movieYear
int CVideoInfoDownloader::m_movieYear |
|
protected |
◆ m_state
◆ m_url
The documentation for this class was generated from the following files: