Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Video tag loader using FFMPEG. More...
#include <VideoTagLoaderFFmpeg.h>
Public Member Functions | |
CVideoTagLoaderFFmpeg (const CFileItem &item, const ADDON::ScraperPtr &info, bool lookInFolder) | |
Constructor. | |
~CVideoTagLoaderFFmpeg () override | |
Destructor. | |
bool | HasInfo () const override |
Returns whether or not reader has info. | |
CInfoScanner::INFO_TYPE | Load (CVideoInfoTag &tag, bool, std::vector< EmbeddedArt > *art=nullptr) override |
Load "tag" from nfo file. | |
ADDON::ScraperPtr | GetScraperInfo () const |
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 | |
CInfoScanner::INFO_TYPE | LoadMKV (CVideoInfoTag &tag, std::vector< EmbeddedArt > *art) |
Load tags from MKV file. | |
CInfoScanner::INFO_TYPE | LoadMP4 (CVideoInfoTag &tag, std::vector< EmbeddedArt > *art) |
Load tags from MP4 file. | |
CInfoScanner::INFO_TYPE | LoadAVI (CVideoInfoTag &tag, std::vector< EmbeddedArt > *art) |
Load tags from AVI file. | |
Protected Attributes | |
ADDON::ScraperPtr | m_info |
Passed scraper info. | |
AVIOContext * | m_ioctx = nullptr |
IO context for file. | |
AVFormatContext * | m_fctx = nullptr |
Format context for file. | |
XFILE::CFile * | m_file = nullptr |
VFS file handle for file. | |
int | m_metadata_stream = -1 |
Stream holding kodi metadata (mkv) | |
bool | m_override_data = false |
Data is for overriding. | |
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 FFMPEG.
CVideoTagLoaderFFmpeg::CVideoTagLoaderFFmpeg | ( | const CFileItem & | item, |
const ADDON::ScraperPtr & | info, | ||
bool | lookInFolder ) |
Constructor.
|
override |
Destructor.
|
inline |
|
overridevirtual |
Returns whether or not reader has info.
Implements KODI::VIDEO::IVideoInfoTagLoader.
|
overridevirtual |
|
protected |
Load tags from AVI file.
|
protected |
Load tags from MKV file.
|
protected |
Load tags from MP4 file.
|
protected |
Format context for file.
|
protected |
VFS file handle for file.
|
protected |
Passed scraper info.
|
protected |
IO context for file.
|
mutableprotected |
Stream holding kodi metadata (mkv)
|
mutableprotected |
Data is for overriding.