Kodi Documentation  18.0
Kodi is an open source media player and entertainment hub.
CVideoTagLoaderPlugin Class Reference

Video tag loader from plugin source. More...

#include <VideoTagLoaderPlugin.h>

Inheritance diagram for CVideoTagLoaderPlugin:
VIDEO::IVideoInfoTagLoader

Public Member Functions

 CVideoTagLoaderPlugin (const CFileItem &item, bool forceRefresh)
 
virtual ~CVideoTagLoaderPlugin ()=default
 
bool HasInfo () const override
 Returns whether or not read has info. More...
 
CInfoScanner::INFO_TYPE Load (CVideoInfoTag &tag, bool prioritise, std::vector< EmbeddedArt > *=nullptr) override
 Load "tag" from plugin. More...
 
std::unique_ptr< std::map< std::string, std::string > > & GetArt ()
 
- Public Member Functions inherited from VIDEO::IVideoInfoTagLoader
 IVideoInfoTagLoader (const CFileItem &item, ADDON::ScraperPtr info, bool lookInFolder)
 Constructor. More...
 
virtual ~IVideoInfoTagLoader ()=default
 
const CScraperUrlScraperUrl () const
 Returns url associated with obtained URL (NFO_URL et al). More...
 
const ADDON::ScraperPtr GetAddonInfo () const
 Returns current scaper info. More...
 

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 VIDEO::IVideoInfoTagLoader
const CFileItemm_item
 Reference to item to load for. More...
 
ADDON::ScraperPtr m_info
 Scraper info. More...
 
CScraperUrl m_url
 URL for scraper. More...
 

Detailed Description

Video tag loader from plugin source.

Constructor & Destructor Documentation

§ CVideoTagLoaderPlugin()

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

§ ~CVideoTagLoaderPlugin()

virtual CVideoTagLoaderPlugin::~CVideoTagLoaderPlugin ( )
virtualdefault

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 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 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: