Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CVideoTagLoaderPlugin Class Reference

Video tag loader from plugin source. More...

#include <VideoTagLoaderPlugin.h>

Inheritance diagram for CVideoTagLoaderPlugin:
KODI::VIDEO::IVideoInfoTagLoader

Public Member Functions

 CVideoTagLoaderPlugin (const CFileItem &item, bool forceRefresh)
 
 ~CVideoTagLoaderPlugin () 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 plugin.
 
std::unique_ptr< std::map< std::string, std::string > > & GetArt ()
 
- Public Member Functions inherited from KODI::VIDEO::IVideoInfoTagLoader
 IVideoInfoTagLoader (const CFileItem &item, ADDON::ScraperPtr info, bool lookInFolder)
 Constructor.
 
virtual ~IVideoInfoTagLoader ()=default
 
const CScraperUrlScraperUrl () const
 Returns url associated with obtained URL (NFO_URL et al).
 
const ADDON::ScraperPtr GetAddonInfo () const
 Returns current scaper info.
 

Protected Attributes

std::unique_ptr< CVideoInfoTagm_tag
 
std::unique_ptr< std::map< std::string, std::string > > m_art
 
bool m_force_refresh
 
- Protected Attributes inherited from KODI::VIDEO::IVideoInfoTagLoader
const CFileItemm_item
 Reference to item to load for.
 
ADDON::ScraperPtr m_info
 Scraper info.
 
CScraperUrl m_url
 URL for scraper.
 

Detailed Description

Video tag loader from plugin source.

Constructor & Destructor Documentation

◆ CVideoTagLoaderPlugin()

CVideoTagLoaderPlugin::CVideoTagLoaderPlugin ( const CFileItem & item,
bool forceRefresh )

◆ ~CVideoTagLoaderPlugin()

CVideoTagLoaderPlugin::~CVideoTagLoaderPlugin ( )
overridedefault

Member Function Documentation

◆ GetArt()

std::unique_ptr< std::map< std::string, std::string > > & CVideoTagLoaderPlugin::GetArt ( )
inline

◆ HasInfo()

bool CVideoTagLoaderPlugin::HasInfo ( ) const
overridevirtual

Returns whether or not read has info.

Implements KODI::VIDEO::IVideoInfoTagLoader.

◆ Load()

CInfoScanner::INFO_TYPE CVideoTagLoaderPlugin::Load ( CVideoInfoTag & tag,
bool prioritise,
std::vector< EmbeddedArt > * = nullptr )
overridevirtual

Load "tag" from plugin.

Parameters
tagTag to load info into

Implements KODI::VIDEO::IVideoInfoTagLoader.

Member Data Documentation

◆ m_art

std::unique_ptr<std::map<std::string, std::string> > CVideoTagLoaderPlugin::m_art
protected

◆ m_force_refresh

bool CVideoTagLoaderPlugin::m_force_refresh
protected

◆ m_tag

std::unique_ptr<CVideoInfoTag> CVideoTagLoaderPlugin::m_tag
protected

The documentation for this class was generated from the following files: