![]() |
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Base class for video tag loaders. More...
#include <IVideoInfoTagLoader.h>
Public Member Functions | |
IVideoInfoTagLoader (const CFileItem &item, ADDON::ScraperPtr info, bool lookInFolder) | |
Constructor. | |
virtual | ~IVideoInfoTagLoader ()=default |
virtual bool | HasInfo () const =0 |
Returns true if we have info to provide. | |
virtual CInfoScanner::InfoType | Load (CVideoInfoTag &tag, bool prioritise, std::vector< EmbeddedArt > *art=nullptr)=0 |
Load tag from file. | |
const CScraperUrl & | ScraperUrl () const |
Returns url associated with obtained URL (NFO_URL et al). | |
const ADDON::ScraperPtr | GetAddonInfo () const |
Returns current scaper info. | |
Protected Attributes | |
const CFileItem & | m_item |
Reference to item to load for. | |
ADDON::ScraperPtr | m_info |
Scraper info. | |
CScraperUrl | m_url |
URL for scraper. | |
Base class for video tag loaders.
|
inline |
Constructor.
item | The item to load info for |
info | Scraper info |
llokInFolder | True to look in folder holding file |
|
virtualdefault |
|
inline |
Returns current scaper info.
|
pure virtual |
Returns true if we have info to provide.
Implemented in CVideoTagLoaderFFmpeg, CVideoTagLoaderNFO, and CVideoTagLoaderPlugin.
|
pure virtual |
Load tag from file.
tag Tag to load info into
prioritise True to prioritise data over existing data in tag
Implemented in CVideoTagLoaderFFmpeg, CVideoTagLoaderNFO, and CVideoTagLoaderPlugin.
|
inline |
Returns url associated with obtained URL (NFO_URL et al).
|
protected |
Scraper info.
|
protected |
Reference to item to load for.
|
protected |
URL for scraper.