diff options
author | chriszero <zerov83@gmail.com> | 2015-02-21 16:43:14 +0100 |
---|---|---|
committer | chriszero <zerov83@gmail.com> | 2015-02-21 16:43:14 +0100 |
commit | 2d8e03d177d20f22c2776b77b2d704a5009ce0fa (patch) | |
tree | 6969a3735fcc106b6f744417587ef8766d8b225a /hlsPlayerControl.cpp | |
parent | 37043899a114c20b50d26ceb2992c2e670b6024e (diff) | |
download | vdr-plugin-plex-2d8e03d177d20f22c2776b77b2d704a5009ce0fa.tar.gz vdr-plugin-plex-2d8e03d177d20f22c2776b77b2d704a5009ce0fa.tar.bz2 |
Add feature: recovers menustate before playing
Diffstat (limited to 'hlsPlayerControl.cpp')
-rw-r--r-- | hlsPlayerControl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hlsPlayerControl.cpp b/hlsPlayerControl.cpp index 1f19336..73e2d6f 100644 --- a/hlsPlayerControl.cpp +++ b/hlsPlayerControl.cpp @@ -1,7 +1,9 @@ #include "hlsPlayerControl.h" #include <vdr/status.h> +#include <vdr/remote.h> +#include "plex.h" #include "PlexServer.h" #include "Plexservice.h" #include "MediaContainer.h" @@ -125,6 +127,8 @@ eOSState cHlsPlayerControl::ProcessKey(eKeys Key) case kBlue: Hide(); Stop(); + cMyPlugin::CalledFromCode = true; + cRemote::CallPlugin(PLUGIN); return osEnd; default: { DoShowMode = false; |