summaryrefslogtreecommitdiff
path: root/plex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plex.cpp')
-rw-r--r--plex.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/plex.cpp b/plex.cpp
index fc84f99..f8961cf 100644
--- a/plex.cpp
+++ b/plex.cpp
@@ -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;
}