#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.
|
|
bool | GetArtwork (CVideoInfoTag &details) |
| Fetch art URLs for an item with our scraper.
|
|
bool | GetDetails (const std::unordered_map< std::string, std::string > &uniqueIDs, const CScraperUrl &url, CVideoInfoTag &movieDetails, CGUIDialogProgress *pProgress=NULL) |
|
bool | GetEpisodeDetails (const CScraperUrl &url, CVideoInfoTag &movieDetails, CGUIDialogProgress *pProgress=NULL) |
|
bool | GetEpisodeList (const CScraperUrl &url, KODI::VIDEO::EPISODELIST &details, CGUIDialogProgress *pProgress=NULL) |
|
| CThread (IRunnable *pRunnable, const char *ThreadName) |
|
virtual | ~CThread () |
|
void | Create (bool bAutoDelete=false) |
|
template<typename Rep , typename Period > |
void | Sleep (std::chrono::duration< Rep, Period > duration) |
|
bool | IsAutoDelete () const |
|
virtual void | StopThread (bool bWait=true) |
|
bool | IsRunning () const |
|
bool | IsCurrentThread () const |
|
bool | Join (std::chrono::milliseconds duration) |
|
bool | SetPriority (const ThreadPriority &priority) |
| Set the threads priority. This uses the platforms native threading library to do so.
|
|
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 = 0 |
|
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_uniqueIDs
std::unordered_map<std::string, std::string> CVideoInfoDownloader::m_uniqueIDs |
|
protected |
◆ m_url
The documentation for this class was generated from the following files: