summaryrefslogtreecommitdiff
path: root/plex.cpp
diff options
context:
space:
mode:
authorChristian <zerov83@gmail.com>2016-03-17 20:15:56 +0100
committerChristian <zerov83@gmail.com>2016-03-17 20:37:05 +0100
commit27817bc027d6b744197d9c2614f87e90c1d2e208 (patch)
tree8321791b0e6dc69dadb4c867b8ad837fd4ed1ce7 /plex.cpp
parent7d6566a4cc70b5fb3b5dd66e66c852f6a765c2ac (diff)
downloadvdr-plugin-plex-27817bc027d6b744197d9c2614f87e90c1d2e208.tar.gz
vdr-plugin-plex-27817bc027d6b744197d9c2614f87e90c1d2e208.tar.bz2
Started DisplayReplay + Fixes
Diffstat (limited to 'plex.cpp')
-rw-r--r--plex.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/plex.cpp b/plex.cpp
index d890959..d6e7951 100644
--- a/plex.cpp
+++ b/plex.cpp
@@ -70,7 +70,7 @@ bool cMyPlugin::Start(void)
m_pPlugStruct = new skindesignerapi::cPluginStructure();
m_pPlugStruct->name = "plex";
m_pPlugStruct->libskindesignerAPIVersion = LIBSKINDESIGNERAPIVERSION;
-
+
m_pPlugStruct->RegisterRootView("root.xml");
skindesignerapi::cTokenContainer *tkBackground = new skindesignerapi::cTokenContainer();
cPlexSdOsd::DefineTokens(eViewElementsRoot::background, tkBackground);
@@ -136,6 +136,12 @@ bool cMyPlugin::Start(void)
cPlexSdOsd::DefineGridTokens(tkDetailExtraGrid);
m_pPlugStruct->RegisterViewGrid((int)eViews::detailView, (int)eViewDetailViewGrids::extras, "extragrid", tkDetailExtraGrid);
+
+ m_pPlugStructReplay = new skindesignerapi::cPluginStructure();
+ m_pPlugStructReplay->name = "plexreplay";
+ m_pPlugStructReplay->libskindesignerAPIVersion = LIBSKINDESIGNERAPIVERSION;
+ m_pPlugStructReplay->RegisterRootView("root.xml");
+
if (!skindesignerapi::SkindesignerAPI::RegisterPlugin(m_pPlugStruct)) {
esyslog("[plex]: skindesigner not available");
bSkindesigner = false;