summaryrefslogtreecommitdiff
path: root/plexSdOsd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plexSdOsd.cpp')
-rw-r--r--plexSdOsd.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/plexSdOsd.cpp b/plexSdOsd.cpp
index 799c311..cfa6a7e 100644
--- a/plexSdOsd.cpp
+++ b/plexSdOsd.cpp
@@ -2,6 +2,8 @@
#include "viewGridNavigator.h"
#include "pictureCache.h"
#include <vdr/thread.h>
+#include "SubscriptionManager.h"
+#include "plex.h"
cMutex cPlexSdOsd::RedrawMutex;
@@ -101,5 +103,11 @@ eOSState cPlexSdOsd::ProcessKey(eKeys Key)
default:
break;
}
+
+ if(state == eOSState::osUser1) {
+ //plexclient::ActionManager::GetInstance().AddAction(*vid);
+ cMyPlugin::PlayFile(*vid);
+ state = eOSState::osEnd;
+ }
return state;
}