diff options
author | chriszero <zerov83@gmail.com> | 2015-04-05 22:33:05 +0200 |
---|---|---|
committer | chriszero <zerov83@gmail.com> | 2015-04-05 22:33:05 +0200 |
commit | f3d792a866ba602458d5d6c521bafa66e56a5528 (patch) | |
tree | 8a0b9c52ca97635cbd682468f629784d0d5b2d6c /plex.cpp | |
parent | f7f62b7ff1f12c1563a04560ad87d2f92a3e0af9 (diff) | |
download | vdr-plugin-plex-f3d792a866ba602458d5d6c521bafa66e56a5528.tar.gz vdr-plugin-plex-f3d792a866ba602458d5d6c521bafa66e56a5528.tar.bz2 |
Fixes some concurency bugs
Diffstat (limited to 'plex.cpp')
-rw-r--r-- | plex.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -160,8 +160,10 @@ bool cMyPlugin::SetupParse(const char *name, const char *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 if (strcasecmp(name, "GridColumns") == 0) Config::GetInstance().GridColumns = atoi(value); + else if (strcasecmp(name, "GridRows") == 0) Config::GetInstance().GridRows = atoi(value); else return false; - + return true; } |