summaryrefslogtreecommitdiff
path: root/plex.cpp
diff options
context:
space:
mode:
authorChristian <zerov83@gmail.com>2016-03-28 20:41:54 +0200
committerChristian <zerov83@gmail.com>2016-03-28 20:41:54 +0200
commitbd3d480a94558344f0a55707bc59b181fc7ea943 (patch)
treed54aaa531c747df28950e0db542f9d9cb26874e0 /plex.cpp
parent495f828b507611fafa49997adf7f2bda815cdcb8 (diff)
downloadvdr-plugin-plex-bd3d480a94558344f0a55707bc59b181fc7ea943.tar.gz
vdr-plugin-plex-bd3d480a94558344f0a55707bc59b181fc7ea943.tar.bz2
paralleling cPictureCache.
Multiple server connections now possible
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;
}