kodi
Public Member Functions | Protected Attributes | List of all members
CVideoTagLoaderPlugin Class Reference

Video tag loader from plugin source. More...

#include <VideoTagLoaderPlugin.h>

Inheritance diagram for CVideoTagLoaderPlugin:
Inheritance graph
[legend]
Collaboration diagram for CVideoTagLoaderPlugin:
Collaboration graph
[legend]

Public Member Functions

 CVideoTagLoaderPlugin (const CFileItem &item, bool forceRefresh)
 
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. 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...
 
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 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.

Member Function Documentation

◆ 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.


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