Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
No Matches

#include <Recordings.h>

Inheritance diagram for kodi::addon::PVRRecording:
kodi::addon::CStructHdl< PVRRecording, PVR_RECORDING >

Public Member Functions

void SetRecordingId (const std::string &recordingId)
Unique identifier of the recording on the client.
std::string GetRecordingId () const
 To get with SetRecordingId changed values.
void SetTitle (const std::string &title)
The title of this recording.
std::string GetTitle () const
 To get with SetTitle changed values.
void SetEpisodeName (const std::string &episodeName)
Episode name (also known as subtitle).
std::string GetEpisodeName () const
 To get with SetEpisodeName changed values.
void SetSeriesNumber (int seriesNumber)
Series number (usually called season).
int GetSeriesNumber () const
 To get with SetSeriesNumber changed values.
void SetEpisodeNumber (int episodeNumber)
Eepisode number within the "iSeriesNumber" season.
int GetEpisodeNumber () const
 To get with SetEpisodeNumber changed values.
void SetYear (int year)
Year of first release (use to identify a specific movie re-make) / first airing for TV shows.
int GetYear () const
 To get with SetYear changed values.
void SetDirectory (const std::string &directory)

std::string GetDirectory () const
 To get with SetDirectory changed values.
void SetPlotOutline (const std::string &plotOutline)
Plot outline name.
std::string GetPlotOutline () const
 To get with SetPlotOutline changed values.
void SetPlot (const std::string &plot)
Plot name.
std::string GetPlot () const
 To get with SetPlot changed values.
void SetChannelName (const std::string &channelName)
Channel name.
std::string GetChannelName () const
 To get with SetChannelName changed values.
void SetIconPath (const std::string &iconPath)
Channel logo (icon) path.
std::string GetIconPath () const
 To get with SetIconPath changed values.
void SetThumbnailPath (const std::string &thumbnailPath)
Thumbnail path.
std::string GetThumbnailPath () const
 To get with SetThumbnailPath changed values.
void SetFanartPath (const std::string &fanartPath)
Fanart path.
std::string GetFanartPath () const
 To get with SetFanartPath changed values.
void SetRecordingTime (time_t recordingTime)
Start time of the recording.
time_t GetRecordingTime () const
 To get with SetRecordingTime changed values.
void SetDuration (int duration)
Duration of the recording in seconds.
int GetDuration () const
 To get with SetDuration changed values.
void SetPriority (int priority)
Priority of this recording (from 0 - 100).
int GetPriority () const
 To get with SetPriority changed values.
void SetLifetime (int lifetime)
Life time in days of this recording.
int GetLifetime () const
 To get with SetLifetime changed values.
void SetGenreType (int genreType)
Genre type.
int GetGenreType () const
 To get with SetGenreType changed values.
void SetGenreSubType (int genreSubType)
Genre sub type.
int GetGenreSubType () const
 To get with SetGenreSubType changed values.
void SetGenreDescription (const std::string &genreDescription)
To set own genre description name.
std::string GetGenreDescription () const
 To get with SetGenreDescription changed values.
void SetPlayCount (int playCount)
Play count of this recording on the client.
int GetPlayCount () const
 To get with SetPlayCount changed values.
void SetLastPlayedPosition (int lastPlayedPosition)
Last played position of this recording on the client.
int GetLastPlayedPosition () const
 To get with SetLastPlayedPosition changed values.
void SetIsDeleted (int isDeleted)
Shows this recording is deleted and can be undelete.
int GetIsDeleted () const
 To get with SetIsDeleted changed values.
void SetEPGEventId (unsigned int epgEventId)
EPG event id associated with this recording. Valid ids must be greater than EPG_TAG_INVALID_UID.
unsigned int GetEPGEventId () const
 To get with SetEPGEventId changed values.
void SetChannelUid (int channelUid)
Unique identifier of the channel for this recording. PVR_CHANNEL_INVALID_UID denotes that channel uid is not available.
int GetChannelUid () const
 To get with SetChannelUid changed values.
void SetChannelType (PVR_RECORDING_CHANNEL_TYPE channelType)
Channel type.
 To get with SetChannelType changed values.
void SetFirstAired (const std::string &firstAired)
First aired date of this recording.
std::string GetFirstAired () const
 To get with SetFirstAired changed values.
void SetFlags (unsigned int flags)
Bit field of independent flags associated with the recording.
unsigned int GetFlags () const
 To get with SetFlags changed values.
void SetSizeInBytes (int64_t sizeInBytes)
Size of the recording in bytes.
int64_t GetSizeInBytes () const
 To get with SetSizeInBytes changed values.
void SetClientProviderUid (int iClientProviderUid)
Unique identifier of the provider this channel belongs to.
int GetClientProviderUid () const
 To get with SetClientProviderUid changed values.
void SetProviderName (const std::string &providerName)
Name for the provider of this channel.
std::string GetProviderName () const
 To get with SetProviderName changed values.
- Public Member Functions inherited from kodi::addon::CStructHdl< PVRRecording, PVR_RECORDING >
 CStructHdl ()
 CStructHdl (const PVRRecording &cppClass)
 CStructHdl (const PVR_RECORDING *cStructure)
 CStructHdl (PVR_RECORDING *cStructure)
const CStructHdloperator= (const CStructHdl &right)
const CStructHdloperator= (const PVR_RECORDING &right)
virtual ~CStructHdl ()
 operator PVR_RECORDING * ()
 operator const PVR_RECORDING * () const
const PVR_RECORDINGGetCStructure () const


class CInstancePVRClient

Additional Inherited Members

- Protected Attributes inherited from kodi::addon::CStructHdl< PVRRecording, PVR_RECORDING >

Member Function Documentation

◆ GetClientProviderUid()

int kodi::addon::PVRRecording::GetClientProviderUid ( ) const

To get with SetClientProviderUid changed values.

◆ GetProviderName()

std::string kodi::addon::PVRRecording::GetProviderName ( ) const

To get with SetProviderName changed values.

◆ SetClientProviderUid()

void kodi::addon::PVRRecording::SetClientProviderUid ( int iClientProviderUid)

Unique identifier of the provider this channel belongs to.

PVR_PROVIDER_INVALID_UID denotes that provider uid is not available.

◆ SetProviderName()

void kodi::addon::PVRRecording::SetProviderName ( const std::string & providerName)

Name for the provider of this channel.

Friends And Related Symbol Documentation

◆ CInstancePVRClient

friend class CInstancePVRClient

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