13#ifndef __DRMDEVICE_MEDIAPLAYER_H
14#define __DRMDEVICE_MEDIAPLAYER_H
19#include <vdr/player.h>
81 void Play(
const char *);
110 virtual void Hide(
void);
static cDrmDevicePlayer * Player()
virtual eOSState ProcessKey(eKeys)
Handle a key event.
void ShowProgress()
Open the replay OSD.
cOutputDevice * m_pDevice
virtual void Hide(void)
Close the replay OSD.
virtual ~cDrmDeviceControl()
cSkinDisplayReplay * m_pOsd
static cDrmDeviceControl * Control()
cPlaylistEntry * GetFirstPlaylistEntry(void)
void ReadPlaylist(const char *)
Read the playlist file.
cPlaylistEntry * m_pCurrentEntry
bool IsRandomPlayActive(void)
std::atomic< bool > m_random
std::atomic< int > m_jumpSec
virtual void Action(void)
Main thread action which invokes replay start.
cPlaylistEntry * m_pFirstEntry
std::atomic< bool > m_stopped
const char * GetSource(void)
void Play(const char *)
Play a file.
cPlaylistEntry * GetCurrentPlaylistEntry(void)
void SetEntry(int)
Set the current entry to play.
virtual void Activate(bool On)
Start player thread.
void JumpSec(int seconds)
cOutputDevice * m_pDevice
void ToggleRandomPlay(void)
std::atomic< bool > m_paused
virtual ~cDrmDevicePlayer()
Output Device Implementation.
std::string OsdItemString(void)
Compose a full-path-string for the OSD entry.
std::string GetPath(void)
void SetNextEntry(cPlaylistEntry *entry)
cPlaylistEntry * GetNextEntry(void)
cPlaylistEntry * m_pNextEntry