|
Kodi Documentation
18.0
Kodi is an open source media player and entertainment hub.
|
#include <VideoInfoTag.h>
Classes | |
| struct | SetInfo |
| < Struct holding information about a movie set More... | |
Public Types | |
| typedef std::vector< SActorInfo >::const_iterator | iCast |
Public Member Functions | |
| CVideoInfoTag () | |
| virtual | ~CVideoInfoTag ()=default |
| void | Reset () |
| bool | Load (const TiXmlElement *element, bool append=false, bool prioritise=false) |
| bool | Save (TiXmlNode *node, const std::string &tag, bool savePathInfo=true, const TiXmlElement *additionalNode=NULL) |
| void | Archive (CArchive &ar) override |
| void | Serialize (CVariant &value) const override |
| void | ToSortable (SortItem &sortable, Field field) const override |
| const CRating | GetRating (std::string type="") const |
| const std::string & | GetDefaultRating () const |
| const std::string | GetUniqueID (std::string type="") const |
| const std::map< std::string, std::string > & | GetUniqueIDs () const |
| const std::string & | GetDefaultUniqueID () const |
| bool | HasUniqueID () const |
| bool | HasYear () const |
| int | GetYear () const |
| bool | HasPremiered () const |
| const CDateTime & | GetPremiered () const |
| const CDateTime & | GetFirstAired () const |
| const std::string | GetCast (bool bIncludeRole=false) const |
| bool | HasStreamDetails () const |
| bool | IsEmpty () const |
| const std::string & | GetPath () const |
| void | SetDuration (int duration) |
| set the duration in seconds More... | |
| unsigned int | GetDuration () const |
| retrieve the duration in seconds. Prefers the duration from stream details if available. More... | |
| unsigned int | GetStaticDuration () const |
| retrieve the duration in seconds. Ignores the duration from stream details even if available. More... | |
| void | SetBasePath (std::string basePath) |
| void | SetDirector (std::vector< std::string > director) |
| void | SetWritingCredits (std::vector< std::string > writingCredits) |
| void | SetGenre (std::vector< std::string > genre) |
| void | SetCountry (std::vector< std::string > country) |
| void | SetTagLine (std::string tagLine) |
| void | SetPlotOutline (std::string plotOutline) |
| void | SetTrailer (std::string trailer) |
| void | SetPlot (std::string plot) |
| std::string const & | GetTitle () |
| void | SetTitle (std::string title) |
| void | SetSortTitle (std::string sortTitle) |
| void | SetPictureURL (CScraperUrl &pictureURL) |
| void | SetRating (float rating, int votes, const std::string &type="", bool def=false) |
| void | SetRating (CRating rating, const std::string &type="", bool def=false) |
| void | SetRating (float rating, const std::string &type="", bool def=false) |
| void | RemoveRating (const std::string &type) |
| void | SetRatings (RatingMap ratings) |
| void | SetVotes (int votes, const std::string &type="") |
| void | SetUniqueIDs (std::map< std::string, std::string > uniqueIDs) |
| void | SetPremiered (CDateTime premiered) |
| void | SetPremieredFromDBDate (std::string premieredString) |
| void | SetYear (int year) |
| void | SetArtist (std::vector< std::string > artist) |
| void | SetSet (std::string set) |
| void | SetSetOverview (std::string setOverview) |
| void | SetTags (std::vector< std::string > tags) |
| void | SetFile (std::string file) |
| void | SetPath (std::string path) |
| void | SetMPAARating (std::string mpaaRating) |
| void | SetFileNameAndPath (std::string fileNameAndPath) |
| void | SetOriginalTitle (std::string originalTitle) |
| void | SetEpisodeGuide (std::string episodeGuide) |
| void | SetStatus (std::string status) |
| void | SetProductionCode (std::string productionCode) |
| void | SetShowTitle (std::string showTitle) |
| void | SetStudio (std::vector< std::string > studio) |
| void | SetAlbum (std::string album) |
| void | SetShowLink (std::vector< std::string > showLink) |
| void | SetUniqueID (const std::string &uniqueid, const std::string &type="", bool def=false) |
| void | RemoveUniqueID (const std::string &type) |
| void | SetNamedSeasons (std::map< int, std::string > namedSeasons) |
| void | SetUserrating (int userrating) |
| virtual int | GetPlayCount () const |
| Get this videos's play count. More... | |
| virtual bool | SetPlayCount (int count) |
| Set this videos's play count. More... | |
| virtual bool | IncrementPlayCount () |
| Increment this videos's play count. More... | |
| virtual void | ResetPlayCount () |
| Reset playcount. More... | |
| virtual bool | IsPlayCountSet () const |
| Check if the playcount is set. More... | |
| virtual CBookmark | GetResumePoint () const |
| Get this videos's resume point. More... | |
| virtual bool | SetResumePoint (const CBookmark &resumePoint) |
| Set this videos's resume point. More... | |
| virtual bool | SetResumePoint (double timeInSeconds, double totalTimeInSeconds, const std::string &playerState) |
| Set this videos's resume point. More... | |
Static Public Member Functions | |
| static unsigned int | GetDurationFromMinuteString (const std::string &runtime) |
| get the duration in seconds from a minute string More... | |
Additional Inherited Members | |
Protected Member Functions inherited from IArchivable | |
| ~IArchivable ()=default | |
Protected Member Functions inherited from ISerializable | |
| ~ISerializable ()=default | |
Protected Member Functions inherited from ISortable | |
| ~ISortable ()=default | |
| typedef std::vector< SActorInfo >::const_iterator CVideoInfoTag::iCast |
|
inline |
|
virtualdefault |
Implements IArchivable.
| const std::string CVideoInfoTag::GetCast | ( | bool | bIncludeRole = false | ) | const |
| const std::string & CVideoInfoTag::GetDefaultRating | ( | ) | const |
| const std::string & CVideoInfoTag::GetDefaultUniqueID | ( | ) | const |
| unsigned int CVideoInfoTag::GetDuration | ( | ) | const |
retrieve the duration in seconds. Prefers the duration from stream details if available.
|
static |
get the duration in seconds from a minute string
| runtime | the runtime string from a scraper or similar |
| const CDateTime & CVideoInfoTag::GetFirstAired | ( | ) | const |
|
inline |
|
virtual |
Get this videos's play count.
| const CDateTime & CVideoInfoTag::GetPremiered | ( | ) | const |
| const CRating CVideoInfoTag::GetRating | ( | std::string | type = "" | ) | const |
|
virtual |
| unsigned int CVideoInfoTag::GetStaticDuration | ( | ) | const |
retrieve the duration in seconds. Ignores the duration from stream details even if available.
| std::string const & CVideoInfoTag::GetTitle | ( | ) |
| const std::string CVideoInfoTag::GetUniqueID | ( | std::string | type = "" | ) | const |
| const std::map< std::string, std::string > & CVideoInfoTag::GetUniqueIDs | ( | ) | const |
| int CVideoInfoTag::GetYear | ( | ) | const |
| bool CVideoInfoTag::HasPremiered | ( | ) | const |
| bool CVideoInfoTag::HasStreamDetails | ( | ) | const |
| bool CVideoInfoTag::HasUniqueID | ( | ) | const |
| bool CVideoInfoTag::HasYear | ( | ) | const |
|
virtual |
Increment this videos's play count.
Reimplemented in PVR::CPVRRecording.
| bool CVideoInfoTag::IsEmpty | ( | ) | const |
|
virtual |
Check if the playcount is set.
| bool CVideoInfoTag::Load | ( | const TiXmlElement * | element, |
| bool | append = false, |
||
| bool | prioritise = false |
||
| ) |
| void CVideoInfoTag::RemoveRating | ( | const std::string & | type | ) |
| void CVideoInfoTag::RemoveUniqueID | ( | const std::string & | type | ) |
|
virtual |
Reset playcount.
| bool CVideoInfoTag::Save | ( | TiXmlNode * | node, |
| const std::string & | tag, | ||
| bool | savePathInfo = true, |
||
| const TiXmlElement * | additionalNode = NULL |
||
| ) |
Implements ISerializable.
| void CVideoInfoTag::SetAlbum | ( | std::string | album | ) |
| void CVideoInfoTag::SetArtist | ( | std::vector< std::string > | artist | ) |
| void CVideoInfoTag::SetBasePath | ( | std::string | basePath | ) |
| void CVideoInfoTag::SetCountry | ( | std::vector< std::string > | country | ) |
| void CVideoInfoTag::SetDirector | ( | std::vector< std::string > | director | ) |
| void CVideoInfoTag::SetDuration | ( | int | duration | ) |
set the duration in seconds
| duration | the duration to set |
| void CVideoInfoTag::SetEpisodeGuide | ( | std::string | episodeGuide | ) |
| void CVideoInfoTag::SetFile | ( | std::string | file | ) |
| void CVideoInfoTag::SetFileNameAndPath | ( | std::string | fileNameAndPath | ) |
| void CVideoInfoTag::SetGenre | ( | std::vector< std::string > | genre | ) |
| void CVideoInfoTag::SetMPAARating | ( | std::string | mpaaRating | ) |
| void CVideoInfoTag::SetNamedSeasons | ( | std::map< int, std::string > | namedSeasons | ) |
| void CVideoInfoTag::SetOriginalTitle | ( | std::string | originalTitle | ) |
| void CVideoInfoTag::SetPath | ( | std::string | path | ) |
| void CVideoInfoTag::SetPictureURL | ( | CScraperUrl & | pictureURL | ) |
|
virtual |
Set this videos's play count.
| count | play count. |
Reimplemented in PVR::CPVRRecording.
| void CVideoInfoTag::SetPlot | ( | std::string | plot | ) |
| void CVideoInfoTag::SetPlotOutline | ( | std::string | plotOutline | ) |
| void CVideoInfoTag::SetPremieredFromDBDate | ( | std::string | premieredString | ) |
| void CVideoInfoTag::SetProductionCode | ( | std::string | productionCode | ) |
| void CVideoInfoTag::SetRating | ( | float | rating, |
| int | votes, | ||
| const std::string & | type = "", |
||
| bool | def = false |
||
| ) |
| void CVideoInfoTag::SetRating | ( | float | rating, |
| const std::string & | type = "", |
||
| bool | def = false |
||
| ) |
|
virtual |
Set this videos's resume point.
| resumePoint | resume point. |
Reimplemented in PVR::CPVRRecording.
|
virtual |
Set this videos's resume point.
| timeInSeconds | the time of the resume point |
| totalTimeInSeconds | the total time of the video |
| playerState | the player state |
Reimplemented in PVR::CPVRRecording.
| void CVideoInfoTag::SetSet | ( | std::string | set | ) |
| void CVideoInfoTag::SetSetOverview | ( | std::string | setOverview | ) |
| void CVideoInfoTag::SetShowLink | ( | std::vector< std::string > | showLink | ) |
| void CVideoInfoTag::SetShowTitle | ( | std::string | showTitle | ) |
| void CVideoInfoTag::SetSortTitle | ( | std::string | sortTitle | ) |
| void CVideoInfoTag::SetStatus | ( | std::string | status | ) |
| void CVideoInfoTag::SetStudio | ( | std::vector< std::string > | studio | ) |
| void CVideoInfoTag::SetTagLine | ( | std::string | tagLine | ) |
| void CVideoInfoTag::SetTags | ( | std::vector< std::string > | tags | ) |
| void CVideoInfoTag::SetTitle | ( | std::string | title | ) |
| void CVideoInfoTag::SetTrailer | ( | std::string | trailer | ) |
| void CVideoInfoTag::SetUniqueID | ( | const std::string & | uniqueid, |
| const std::string & | type = "", |
||
| bool | def = false |
||
| ) |
| void CVideoInfoTag::SetUniqueIDs | ( | std::map< std::string, std::string > | uniqueIDs | ) |
| void CVideoInfoTag::SetUserrating | ( | int | userrating | ) |
| void CVideoInfoTag::SetVotes | ( | int | votes, |
| const std::string & | type = "" |
||
| ) |
| void CVideoInfoTag::SetWritingCredits | ( | std::vector< std::string > | writingCredits | ) |
| void CVideoInfoTag::SetYear | ( | int | year | ) |
Implements ISortable.
| std::vector<std::string> CVideoInfoTag::m_artist |
| std::string CVideoInfoTag::m_basePath |
| bool CVideoInfoTag::m_bHasPremiered |
| std::vector< SActorInfo > CVideoInfoTag::m_cast |
| std::vector<std::string> CVideoInfoTag::m_country |
| std::vector<EmbeddedArtInfo> CVideoInfoTag::m_coverArt |
art information
| CDateTime CVideoInfoTag::m_dateAdded |
| std::vector<std::string> CVideoInfoTag::m_director |
| unsigned int CVideoInfoTag::m_duration |
duration in seconds
| CBookmark CVideoInfoTag::m_EpBookmark |
| CFanart CVideoInfoTag::m_fanart |
| CDateTime CVideoInfoTag::m_firstAired |
| std::vector<std::string> CVideoInfoTag::m_genre |
| int CVideoInfoTag::m_iBookmarkId |
| int CVideoInfoTag::m_iDbId |
| int CVideoInfoTag::m_iEpisode |
| int CVideoInfoTag::m_iFileId |
| int CVideoInfoTag::m_iIdRating |
| int CVideoInfoTag::m_iIdSeason |
| int CVideoInfoTag::m_iIdShow |
| int CVideoInfoTag::m_iIdUniqueID |
| int CVideoInfoTag::m_iSeason |
| int CVideoInfoTag::m_iSpecialSortEpisode |
| int CVideoInfoTag::m_iSpecialSortSeason |
| int CVideoInfoTag::m_iTop250 |
| int CVideoInfoTag::m_iTrack |
| int CVideoInfoTag::m_iUserRating |
| CDateTime CVideoInfoTag::m_lastPlayed |
| std::map<int, std::string> CVideoInfoTag::m_namedSeasons |
| int CVideoInfoTag::m_parentPathID |
| int CVideoInfoTag::m_parsedDetails |
| CDateTime CVideoInfoTag::m_premiered |
| RatingMap CVideoInfoTag::m_ratings |
| int CVideoInfoTag::m_relevance |
| SetInfo CVideoInfoTag::m_set |
Assigned movie set.
| std::vector<std::string> CVideoInfoTag::m_showLink |
| std::string CVideoInfoTag::m_strAlbum |
| CStreamDetails CVideoInfoTag::m_streamDetails |
| std::string CVideoInfoTag::m_strEpisodeGuide |
| std::string CVideoInfoTag::m_strFile |
| std::string CVideoInfoTag::m_strFileNameAndPath |
| std::string CVideoInfoTag::m_strMPAARating |
| std::string CVideoInfoTag::m_strOriginalTitle |
| std::string CVideoInfoTag::m_strPath |
| CScraperUrl CVideoInfoTag::m_strPictureURL |
| std::string CVideoInfoTag::m_strPlot |
| std::string CVideoInfoTag::m_strPlotOutline |
| std::string CVideoInfoTag::m_strProductionCode |
| std::string CVideoInfoTag::m_strShowTitle |
| std::string CVideoInfoTag::m_strSortTitle |
| std::string CVideoInfoTag::m_strStatus |
| std::string CVideoInfoTag::m_strTagLine |
| std::string CVideoInfoTag::m_strTitle |
| std::string CVideoInfoTag::m_strTrailer |
| std::vector<std::string> CVideoInfoTag::m_studio |
| std::vector<std::string> CVideoInfoTag::m_tags |
| MediaType CVideoInfoTag::m_type |
| std::vector<std::string> CVideoInfoTag::m_writingCredits |