From bd3d480a94558344f0a55707bc59b181fc7ea943 Mon Sep 17 00:00:00 2001 From: Christian Date: Mon, 28 Mar 2016 20:41:54 +0200 Subject: paralleling cPictureCache. Multiple server connections now possible --- plex.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'plex.cpp') 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; } -- cgit v1.2.3