xbmc
|
Public Member Functions | |
bool | Update (const std::vector< std::shared_ptr< CPVRClient >> &clients) |
Update all recordings from the given PVR clients. More... | |
void | Unload () |
unload all recordings. | |
bool | UpdateFromClients (const std::vector< std::shared_ptr< CPVRClient >> &clients) |
Update data with recordings from the given clients, sync with local data. More... | |
void | UpdateFromClient (const std::shared_ptr< CPVRRecording > &tag, const CPVRClient &client) |
client has delivered a new/updated recording. More... | |
void | UpdateInProgressSize () |
refresh the size of any in progress recordings from the clients. | |
int | GetNumTVRecordings () const |
bool | HasDeletedTVRecordings () const |
int | GetNumRadioRecordings () const |
bool | HasDeletedRadioRecordings () const |
bool | MarkWatched (const std::shared_ptr< CPVRRecording > &recording, bool bWatched) |
Set a recording's watched state. More... | |
bool | ResetResumePoint (const std::shared_ptr< CPVRRecording > &recording) |
Reset a recording's resume point, if any. More... | |
std::vector< std::shared_ptr< CPVRRecording > > | GetAll () const |
Get a list of all recordings. More... | |
std::shared_ptr< CPVRRecording > | GetByPath (const std::string &path) const |
std::shared_ptr< CPVRRecording > | GetById (int iClientId, const std::string &strRecordingId) const |
std::shared_ptr< CPVRRecording > | GetById (unsigned int iId) const |
std::shared_ptr< CPVRRecording > | GetRecordingForEpgTag (const std::shared_ptr< CPVREpgInfoTag > &epgTag) const |
Get the recording for the given epg tag, if any. More... | |
int | CleanupCachedImages () |
Erase stale texture db entries and image files. More... | |
int CPVRRecordings::CleanupCachedImages | ( | ) |
Erase stale texture db entries and image files.
std::vector< std::shared_ptr< CPVRRecording > > CPVRRecordings::GetAll | ( | ) | const |
Get a list of all recordings.
std::shared_ptr< CPVRRecording > CPVRRecordings::GetRecordingForEpgTag | ( | const std::shared_ptr< CPVREpgInfoTag > & | epgTag | ) | const |
Get the recording for the given epg tag, if any.
epgTag | The epg tag. |
bool CPVRRecordings::MarkWatched | ( | const std::shared_ptr< CPVRRecording > & | recording, |
bool | bWatched | ||
) |
Set a recording's watched state.
recording | The recording |
bWatched | True to set watched, false to set unwatched state |
bool CPVRRecordings::ResetResumePoint | ( | const std::shared_ptr< CPVRRecording > & | recording | ) |
Reset a recording's resume point, if any.
recording | The recording |
bool CPVRRecordings::Update | ( | const std::vector< std::shared_ptr< CPVRClient >> & | clients | ) |
Update all recordings from the given PVR clients.
clients | The PVR clients data should be loaded for. Leave empty for all clients. |
void CPVRRecordings::UpdateFromClient | ( | const std::shared_ptr< CPVRRecording > & | tag, |
const CPVRClient & | client | ||
) |
client has delivered a new/updated recording.
tag | The recording |
client | The client the recording belongs to. |
bool CPVRRecordings::UpdateFromClients | ( | const std::vector< std::shared_ptr< CPVRClient >> & | clients | ) |
Update data with recordings from the given clients, sync with local data.
clients | The clients to fetch data from. Leave empty to fetch data from all created clients. |