summaryrefslogtreecommitdiff
path: root/plex.cpp
diff options
context:
space:
mode:
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;