summaryrefslogtreecommitdiff
path: root/plex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plex.cpp')
-rw-r--r--plex.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/plex.cpp b/plex.cpp
index d6e7951..5455914 100644
--- a/plex.cpp
+++ b/plex.cpp
@@ -135,12 +135,7 @@ bool cMyPlugin::Start(void)
skindesignerapi::cTokenContainer *tkDetailExtraGrid = new skindesignerapi::cTokenContainer();
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");
@@ -184,9 +179,6 @@ bool cMyPlugin::Initialize(void)
plexclient::plexgdm::GetInstance().Start();
plexclient::ControlServer::GetInstance().Start();
-#ifdef SKINDESIGNER
- cPictureCache::GetInstance().Start();
-#endif
return true;
}