diff options
author | chriszero <zerov83@gmail.com> | 2015-04-05 13:31:04 +0200 |
---|---|---|
committer | chriszero <zerov83@gmail.com> | 2015-04-05 13:31:04 +0200 |
commit | f7f62b7ff1f12c1563a04560ad87d2f92a3e0af9 (patch) | |
tree | 4dd38d637ad2d5427c93a8d8d695e91c11df33d4 /plex.cpp | |
parent | 21ee9e67ff7029c099c9fd772d3dc3e23c955199 (diff) | |
download | vdr-plugin-plex-f7f62b7ff1f12c1563a04560ad87d2f92a3e0af9.tar.gz vdr-plugin-plex-f7f62b7ff1f12c1563a04560ad87d2f92a3e0af9.tar.bz2 |
More Skindesigner support.
Define a custom server
Diffstat (limited to 'plex.cpp')
-rw-r--r-- | plex.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -66,7 +66,7 @@ bool cMyPlugin::Start(void) reg.SetViewElement(viRootView, verBackground, "background"); reg.SetViewElement(viRootView, verFooter, "footer"); - reg.SetSubView(viRootView, viDetailView, "detail.xml"); + //reg.SetSubView(viRootView, viDetailView, "detail.xml"); static cPlugin *pSkinDesigner = cPluginManager::GetPlugin("skindesigner"); if (pSkinDesigner) { @@ -157,6 +157,9 @@ bool cMyPlugin::SetupParse(const char *name, const char *value) else if (strcasecmp(name, "Username") == 0) Config::GetInstance().s_username = std::string(value); else if (strcasecmp(name, "Password") == 0) Config::GetInstance().s_password = std::string(value); else if (strcasecmp(name, "UUID") == 0) Config::GetInstance().SetUUID(value); + else if (strcasecmp(name, "UseConfiguredServer") == 0) Config::GetInstance().UseConfiguredServer = atoi(value) ? true : false; + else if (strcasecmp(name, "ServerHost") == 0) Config::GetInstance().s_serverHost = std::string(value); + else if (strcasecmp(name, "ServerPort") == 0) Config::GetInstance().ServerPort = atoi(value); else return false; return true; |