From 312c13f4f6b299a976787542869f96b1e66549cf Mon Sep 17 00:00:00 2001 From: chriszero Date: Thu, 5 Feb 2015 21:32:55 +0100 Subject: Plex remote support. Control via Plexapps (Android, IOS...) --- hlsPlayerControl.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hlsPlayerControl.h') diff --git a/hlsPlayerControl.h b/hlsPlayerControl.h index 2f7347b..9a3fc60 100644 --- a/hlsPlayerControl.h +++ b/hlsPlayerControl.h @@ -13,7 +13,6 @@ class cHlsPlayerControl : public cControl private: static volatile int active; plexclient::MediaContainer* m_pMediaContainer; - plexclient::Video* m_pVideo; cHlsPlayer* player; std::string m_title; @@ -32,6 +31,8 @@ protected: //void ShowMode(); public: + plexclient::Video* m_pVideo; + static cControl* Create(plexclient::Video* Video); cHlsPlayerControl(cHlsPlayer* Player, plexclient::MediaContainer* Container); virtual ~cHlsPlayerControl(); @@ -47,6 +48,7 @@ public: void Pause(void); void Play(void); void Stop(void); + void SeekTo(int offset); }; -- cgit v1.2.3