Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
PVR::CPVRRecordingsPath Class Reference

#include <PVRRecordingsPath.h>

Public Member Functions

 CPVRRecordingsPath (const std::string &strPath)
 
 CPVRRecordingsPath (bool bDeleted, bool bRadio)
 
 CPVRRecordingsPath (bool bDeleted, bool bRadio, const std::string &strDirectory, const std::string &strTitle, int iSeason, int iEpisode, int iYear, const std::string &strSubtitle, const std::string &strChannelName, const CDateTime &recordingTime, const std::string &strId)
 
 operator std::string () const
 
bool IsValid () const
 
const std::string & GetPath () const
 
bool IsRecordingsRoot () const
 
bool IsActive () const
 
bool IsDeleted () const
 
bool IsRadio () const
 
bool IsTV () const
 
std::string GetUnescapedDirectoryPath () const
 
std::string GetUnescapedSubDirectoryPath (const std::string &strPath) const
 
const std::string GetTitle () const
 
void AppendSegment (const std::string &strSegment)
 

Static Public Attributes

static const std::string PATH_RECORDINGS = "pvr://recordings/"
 
static const std::string PATH_ACTIVE_TV_RECORDINGS = "pvr://recordings/tv/active/"
 
static const std::string PATH_ACTIVE_RADIO_RECORDINGS
 
static const std::string PATH_DELETED_TV_RECORDINGS = "pvr://recordings/tv/deleted/"
 
static const std::string PATH_DELETED_RADIO_RECORDINGS
 

Constructor & Destructor Documentation

◆ CPVRRecordingsPath() [1/3]

CPVRRecordingsPath::CPVRRecordingsPath ( const std::string & strPath)
explicit

◆ CPVRRecordingsPath() [2/3]

CPVRRecordingsPath::CPVRRecordingsPath ( bool bDeleted,
bool bRadio )

◆ CPVRRecordingsPath() [3/3]

CPVRRecordingsPath::CPVRRecordingsPath ( bool bDeleted,
bool bRadio,
const std::string & strDirectory,
const std::string & strTitle,
int iSeason,
int iEpisode,
int iYear,
const std::string & strSubtitle,
const std::string & strChannelName,
const CDateTime & recordingTime,
const std::string & strId )

Member Function Documentation

◆ AppendSegment()

void CPVRRecordingsPath::AppendSegment ( const std::string & strSegment)

◆ GetPath()

const std::string & PVR::CPVRRecordingsPath::GetPath ( ) const
inline

◆ GetTitle()

const std::string CPVRRecordingsPath::GetTitle ( ) const

◆ GetUnescapedDirectoryPath()

std::string CPVRRecordingsPath::GetUnescapedDirectoryPath ( ) const

◆ GetUnescapedSubDirectoryPath()

std::string CPVRRecordingsPath::GetUnescapedSubDirectoryPath ( const std::string & strPath) const

◆ IsActive()

bool PVR::CPVRRecordingsPath::IsActive ( ) const
inline

◆ IsDeleted()

bool PVR::CPVRRecordingsPath::IsDeleted ( ) const
inline

◆ IsRadio()

bool PVR::CPVRRecordingsPath::IsRadio ( ) const
inline

◆ IsRecordingsRoot()

bool PVR::CPVRRecordingsPath::IsRecordingsRoot ( ) const
inline

◆ IsTV()

bool PVR::CPVRRecordingsPath::IsTV ( ) const
inline

◆ IsValid()

bool PVR::CPVRRecordingsPath::IsValid ( ) const
inline

◆ operator std::string()

PVR::CPVRRecordingsPath::operator std::string ( ) const
inline

Member Data Documentation

◆ PATH_ACTIVE_RADIO_RECORDINGS

const std::string CPVRRecordingsPath::PATH_ACTIVE_RADIO_RECORDINGS
static
Initial value:
=
"pvr://recordings/radio/active/"

◆ PATH_ACTIVE_TV_RECORDINGS

const std::string CPVRRecordingsPath::PATH_ACTIVE_TV_RECORDINGS = "pvr://recordings/tv/active/"
static

◆ PATH_DELETED_RADIO_RECORDINGS

const std::string CPVRRecordingsPath::PATH_DELETED_RADIO_RECORDINGS
static
Initial value:
=
"pvr://recordings/radio/deleted/"

◆ PATH_DELETED_TV_RECORDINGS

const std::string CPVRRecordingsPath::PATH_DELETED_TV_RECORDINGS = "pvr://recordings/tv/deleted/"
static

◆ PATH_RECORDINGS

const std::string CPVRRecordingsPath::PATH_RECORDINGS = "pvr://recordings/"
static

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