|
| CScraper (const AddonInfoPtr &addonInfo, TYPE addonType) |
|
bool | SetPathSettings (CONTENT_TYPE content, const std::string &xml) |
| Set the scraper settings for a particular path from an XML string Loads the default and user settings (if not already loaded) and, if the given XML string is non-empty, overrides the user settings with the XML. More...
|
|
std::string | GetPathSettings () |
| Get the scraper settings for a particular path in the form of an XML string Loads the default and user settings (if not already loaded) and returns the user settings in the form or an XML string. More...
|
|
void | ClearCache () |
| Clear any previously cached results for this scraper Any previously cached files are cleared if they have been cached for longer than the specified cachepersistence. More...
|
|
CONTENT_TYPE | Content () const |
|
bool | RequiresSettings () const |
|
bool | Supports (const CONTENT_TYPE &content) const |
|
bool | IsInUse () const override |
|
bool | IsNoop () |
|
bool | IsPython () const |
|
CScraperUrl | NfoUrl (const std::string &sNfoContent) |
|
CScraperUrl | ResolveIDToUrl (const std::string &externalID) |
| Resolve an external ID (e.g. MusicBrainz IDs) to a URL using scrapers If we have an ID in hand, e.g. MusicBrainz IDs or TheTVDB Season IDs we can get directly to a URL instead of searching by name and choosing from the search results. The correct scraper type should be used to get the right URL for a given ID, so we can differentiate albums, artists, TV Seasons, etc. More...
|
|
std::vector< CScraperUrl > | FindMovie (XFILE::CCurlFile &fcurl, const std::string &movieTitle, int movieYear, bool fFirst) |
|
std::vector< MUSIC_GRABBER::CMusicAlbumInfo > | FindAlbum (XFILE::CCurlFile &fcurl, const std::string &sAlbum, const std::string &sArtist="") |
|
std::vector< MUSIC_GRABBER::CMusicArtistInfo > | FindArtist (XFILE::CCurlFile &fcurl, const std::string &sArtist) |
|
VIDEO::EPISODELIST | GetEpisodeList (XFILE::CCurlFile &fcurl, const CScraperUrl &scurl) |
|
bool | GetVideoDetails (XFILE::CCurlFile &fcurl, const CScraperUrl &scurl, bool fMovie, CVideoInfoTag &video) |
|
bool | GetAlbumDetails (XFILE::CCurlFile &fcurl, const CScraperUrl &scurl, CAlbum &album) |
|
bool | GetArtistDetails (XFILE::CCurlFile &fcurl, const CScraperUrl &scurl, const std::string &sSearch, CArtist &artist) |
|
bool | GetArtwork (XFILE::CCurlFile &fcurl, CVideoInfoTag &details) |
|
| CAddon (const AddonInfoPtr &addonInfo, TYPE addonType) |
|
| ~CAddon () override=default |
|
TYPE | MainType () const override |
| To get the main type of this addon. More...
|
|
TYPE | Type () const override |
| To get the on this CAddon class processed addon type. More...
|
|
bool | HasType (TYPE type) const override |
| To check complete addon (not only this) contains a type. More...
|
|
bool | HasMainType (TYPE type) const override |
| To check complete addon (not only this) has a specific type defined in its first extension point including the provided subcontent e.g. video or audio. More...
|
|
const CAddonType * | Type (TYPE type) const |
| The get for given addon type information and extension data. More...
|
|
std::string | ID () const override |
|
std::string | Name () const override |
|
bool | IsBinary () const override |
|
AddonVersion | Version () const override |
|
AddonVersion | MinVersion () const override |
|
std::string | Summary () const override |
|
std::string | Description () const override |
|
std::string | Path () const override |
|
std::string | Profile () const override |
|
std::string | LibPath () const override |
|
std::string | Author () const override |
|
std::string | ChangeLog () const override |
|
std::string | Icon () const override |
|
ArtMap | Art () const override |
|
std::vector< std::string > | Screenshots () const override |
|
std::string | Disclaimer () const override |
|
AddonLifecycleState | LifecycleState () const override |
|
std::string | LifecycleStateDescription () const override |
|
CDateTime | InstallDate () const override |
|
CDateTime | LastUpdated () const override |
|
CDateTime | LastUsed () const override |
|
std::string | Origin () const override |
|
std::string | OriginName () const override |
|
uint64_t | PackageSize () const override |
|
const InfoMap & | ExtraInfo () const override |
|
const std::vector< DependencyInfo > & | GetDependencies () const override |
|
std::string | FanArt () const override |
|
bool | HasSettings () override |
| Check whether the this addon can be configured or not. More...
|
|
virtual bool | HasUserSettings () |
| Check whether the user has configured this addon or not. More...
|
|
void | SaveSettings () override |
| Save any user configured settings. More...
|
|
void | UpdateSetting (const std::string &key, const std::string &value) override |
| Update a user-configured setting with a new value. More...
|
|
bool | UpdateSettingBool (const std::string &key, bool value) override |
| Update a user-configured setting with a new boolean value. More...
|
|
bool | UpdateSettingInt (const std::string &key, int value) override |
| Update a user-configured setting with a new integer value. More...
|
|
bool | UpdateSettingNumber (const std::string &key, double value) override |
| Update a user-configured setting with a new number value. More...
|
|
bool | UpdateSettingString (const std::string &key, const std::string &value) override |
| Update a user-configured setting with a new string value. More...
|
|
std::string | GetSetting (const std::string &key) override |
| Retrieve a particular settings value If a previously configured user setting is available, we return it's value, else we return the default (if available) More...
|
|
bool | GetSettingBool (const std::string &key, bool &value) override |
| Retrieve a particular settings value as boolean If a previously configured user setting is available, we return it's value, else we return the default (if available) More...
|
|
bool | GetSettingInt (const std::string &key, int &value) override |
| Retrieve a particular settings value as integer If a previously configured user setting is available, we return it's value, else we return the default (if available) More...
|
|
bool | GetSettingNumber (const std::string &key, double &value) override |
| Retrieve a particular settings value as number If a previously configured user setting is available, we return it's value, else we return the default (if available) More...
|
|
bool | GetSettingString (const std::string &key, std::string &value) override |
| Retrieve a particular settings value as string If a previously configured user setting is available, we return it's value, else we return the default (if available) More...
|
|
std::shared_ptr< CAddonSettings > | GetSettings () override |
|
AddonVersion | GetDependencyVersion (const std::string &dependencyID) const override |
| get the required version of a dependency. More...
|
|
bool | MeetsVersion (const AddonVersion &versionMin, const AddonVersion &version) const override |
| return whether or not this addon satisfies the given version requirements More...
|
|
bool | ReloadSettings () override |
|
void | ResetSettings () override |
|
AddonPtr | GetRunningInstance () const override |
| retrieve the running instance of an add-on if it persists while running. More...
|
|
void | OnPreInstall () override |
|
void | OnPostInstall (bool update, bool modal) override |
|
void | OnPreUnInstall () override |
|
void | OnPostUnInstall () override |
|
virtual | ~IAddon ()=default |
|