#include <PVRRecordings.h>
◆ CPVRRecordings()
CPVRRecordings::CPVRRecordings |
( |
| ) |
|
|
default |
◆ ~CPVRRecordings()
CPVRRecordings::~CPVRRecordings |
( |
| ) |
|
|
virtual |
◆ CleanupCachedImages()
int CPVRRecordings::CleanupCachedImages |
( |
| ) |
|
Erase stale texture db entries and image files.
- Returns
- number of cleaned up images.
◆ GetAll()
std::vector< std::shared_ptr< CPVRRecording > > CPVRRecordings::GetAll |
( |
| ) |
const |
Get a list of all recordings.
- Returns
- the list of all recordings
◆ GetById() [1/2]
std::shared_ptr< CPVRRecording > CPVRRecordings::GetById |
( |
int | iClientId, |
|
|
const std::string & | strRecordingId ) const |
◆ GetById() [2/2]
std::shared_ptr< CPVRRecording > CPVRRecordings::GetById |
( |
unsigned int | iId | ) |
const |
◆ GetByPath()
std::shared_ptr< CPVRRecording > CPVRRecordings::GetByPath |
( |
const std::string & | path | ) |
const |
◆ GetNumRadioRecordings()
int CPVRRecordings::GetNumRadioRecordings |
( |
| ) |
const |
◆ GetNumTVRecordings()
int CPVRRecordings::GetNumTVRecordings |
( |
| ) |
const |
◆ GetRecordingForEpgTag()
Get the recording for the given epg tag, if any.
- Parameters
-
- Returns
- The requested recording, or an empty recordingptr if none was found.
◆ HasDeletedRadioRecordings()
bool CPVRRecordings::HasDeletedRadioRecordings |
( |
| ) |
const |
◆ HasDeletedTVRecordings()
bool CPVRRecordings::HasDeletedTVRecordings |
( |
| ) |
const |
◆ MarkWatched()
Set a recording's watched state.
- Parameters
-
recording | The recording |
bWatched | True to set watched, false to set unwatched state |
- Returns
- True on success, false otherwise
◆ ResetResumePoint()
bool CPVRRecordings::ResetResumePoint |
( |
const std::shared_ptr< CPVRRecording > & | recording | ) |
|
Reset a recording's resume point, if any.
- Parameters
-
- Returns
- True on success, false otherwise
◆ Unload()
void CPVRRecordings::Unload |
( |
| ) |
|
◆ Update()
bool CPVRRecordings::Update |
( |
const std::vector< std::shared_ptr< CPVRClient > > & | clients | ) |
|
Update all recordings from the given PVR clients.
- Parameters
-
clients | The PVR clients data should be loaded for. Leave empty for all clients. |
- Returns
- True on success, false otherwise.
◆ UpdateFromClient()
client has delivered a new/updated recording.
- Parameters
-
tag | The recording |
client | The client the recording belongs to. |
◆ UpdateFromClients()
bool CPVRRecordings::UpdateFromClients |
( |
const std::vector< std::shared_ptr< CPVRClient > > & | clients | ) |
|
Update data with recordings from the given clients, sync with local data.
- Parameters
-
clients | The clients to fetch data from. Leave empty to fetch data from all created clients. |
- Returns
- True on success, false otherwise.
◆ UpdateInProgressSize()
void CPVRRecordings::UpdateInProgressSize |
( |
| ) |
|
refresh the size of any in progress recordings from the clients.
The documentation for this class was generated from the following files: