summaryrefslogtreecommitdiff
path: root/hlsPlayerControl.h
diff options
context:
space:
mode:
authorchriszero <zerov83@gmail.com>2015-01-17 22:42:08 +0100
committerchriszero <zerov83@gmail.com>2015-01-17 22:42:08 +0100
commitd3777dd6bcb11ceea85eca91e670d7872ba7b1ea (patch)
tree0f105aa75321c5c83a17c0c9338fb2534f61fc38 /hlsPlayerControl.h
parentadc0c699c19b0389b899230a73f3ab635bcdc5c3 (diff)
downloadvdr-plugin-plex-d3777dd6bcb11ceea85eca91e670d7872ba7b1ea.tar.gz
vdr-plugin-plex-d3777dd6bcb11ceea85eca91e670d7872ba7b1ea.tar.bz2
Added current status of played stream (current, total time, play, pause)
Diffstat (limited to 'hlsPlayerControl.h')
-rw-r--r--hlsPlayerControl.h19
1 files changed, 16 insertions, 3 deletions
diff --git a/hlsPlayerControl.h b/hlsPlayerControl.h
index 36c23ee..8eb8bc6 100644
--- a/hlsPlayerControl.h
+++ b/hlsPlayerControl.h
@@ -5,20 +5,33 @@
#include <vdr/tools.h>
#include "hlsPlayer.h"
+#include "PVideo.h"
class cHlsPlayerControl : public cControl
{
private:
+ static volatile int active;
+ plexclient::Video* m_pVideo;
cHlsPlayer* player;
std::string m_title;
-
- bool visible;
+
+ cSkinDisplayReplay *displayReplay;
+ bool visible, modeOnly, shown;
+ int lastCurrent, lastTotal;
+ bool lastPlay, lastForward;
+ int lastSpeed;
+ time_t timeoutShow;
+
+ void ShowMode(void);
+ bool ShowProgress(bool Initial);
+ void ShowTimed(int Seconds = 0);
protected:
//void ShowMode();
public:
- cHlsPlayerControl(cHlsPlayer* Player, std::string title);
+ static cControl* Create(plexclient::Video* Video);
+ cHlsPlayerControl(cHlsPlayer* Player, plexclient::Video* Video);
virtual ~cHlsPlayerControl();
virtual void Show(void);