Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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::InfoType Load (CVideoInfoTag &tag, bool prioritise, std::vector< EmbeddedArt > *=nullptr) override
 Load "tag" from plugin.
 
std::unique_ptr< KODI::ART::Artwork > & 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< KODI::ART::Artworkm_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< KODI::ART::Artwork > & CVideoTagLoaderPlugin::GetArt ( )
inline

◆ HasInfo()

bool CVideoTagLoaderPlugin::HasInfo ( ) const
overridevirtual

Returns whether or not read has info.

Implements KODI::VIDEO::IVideoInfoTagLoader.

◆ Load()

CInfoScanner::InfoType 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<KODI::ART::Artwork> 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: