diff options
| author | Christian <zerov83@gmail.com> | 2016-03-28 20:41:54 +0200 |
|---|---|---|
| committer | Christian <zerov83@gmail.com> | 2016-03-28 20:41:54 +0200 |
| commit | bd3d480a94558344f0a55707bc59b181fc7ea943 (patch) | |
| tree | d54aaa531c747df28950e0db542f9d9cb26874e0 /plex.cpp | |
| parent | 495f828b507611fafa49997adf7f2bda815cdcb8 (diff) | |
| download | vdr-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.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -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; } |
