Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Video tag loader using nfo files. More...
#include <VideoTagLoaderNFO.h>
Public Member Functions | |
CVideoTagLoaderNFO (const CFileItem &item, ADDON::ScraperPtr info, bool lookInFolder) | |
~CVideoTagLoaderNFO () override=default | |
bool | HasInfo () const override |
Returns whether or not read has info. | |
CInfoScanner::INFO_TYPE | Load (CVideoInfoTag &tag, bool prioritise, std::vector< EmbeddedArt > *=nullptr) override |
Load "tag" from nfo file. | |
Public Member Functions inherited from KODI::VIDEO::IVideoInfoTagLoader | |
IVideoInfoTagLoader (const CFileItem &item, ADDON::ScraperPtr info, bool lookInFolder) | |
Constructor. | |
virtual | ~IVideoInfoTagLoader ()=default |
const CScraperUrl & | ScraperUrl () const |
Returns url associated with obtained URL (NFO_URL et al). | |
const ADDON::ScraperPtr | GetAddonInfo () const |
Returns current scaper info. | |
Protected Member Functions | |
std::string | FindNFO (const CFileItem &item, bool movieFolder) const |
Find nfo file for item. | |
Protected Attributes | |
std::string | m_path |
Path to nfo file. | |
Protected Attributes inherited from KODI::VIDEO::IVideoInfoTagLoader | |
const CFileItem & | m_item |
Reference to item to load for. | |
ADDON::ScraperPtr | m_info |
Scraper info. | |
CScraperUrl | m_url |
URL for scraper. | |
Video tag loader using nfo files.
CVideoTagLoaderNFO::CVideoTagLoaderNFO | ( | const CFileItem & | item, |
ADDON::ScraperPtr | info, | ||
bool | lookInFolder ) |
|
overridedefault |
|
protected |
Find nfo file for item.
item | The item to find NFO file for |
movieFolder | If true, look for movie.nfo |
|
overridevirtual |
Returns whether or not read has info.
Implements KODI::VIDEO::IVideoInfoTagLoader.
|
overridevirtual |
|
protected |
Path to nfo file.