diff options
author | chriszero <zerov83@gmail.com> | 2015-01-17 22:42:08 +0100 |
---|---|---|
committer | chriszero <zerov83@gmail.com> | 2015-01-17 22:42:08 +0100 |
commit | d3777dd6bcb11ceea85eca91e670d7872ba7b1ea (patch) | |
tree | 0f105aa75321c5c83a17c0c9338fb2534f61fc38 /hlsPlayerControl.h | |
parent | adc0c699c19b0389b899230a73f3ab635bcdc5c3 (diff) | |
download | vdr-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.h | 19 |
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); |