summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmirl <schmirl>2009-02-03 10:26:23 +0000
committerschmirl <schmirl>2009-02-03 10:26:23 +0000
commit64ac6278bf8969d47470f7a1ce0d4d20cdf5b2a1 (patch)
tree11fddd8c1e21853177f2917313e9aef6e96d572a
parent507365d16ef90ececc66673cd89c28c25cd37be3 (diff)
downloadvdr-plugin-streamdev-64ac6278bf8969d47470f7a1ce0d4d20cdf5b2a1.tar.gz
vdr-plugin-streamdev-64ac6278bf8969d47470f7a1ce0d4d20cdf5b2a1.tar.bz2
Fixed parsing Min/MaxPriority from config
-rw-r--r--CONTRIBUTORS3
-rw-r--r--HISTORY1
-rw-r--r--client/setup.c6
3 files changed, 7 insertions, 3 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index d3ca007..833abad 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -91,3 +91,6 @@ wirbel
Jori Hamalainen
for extensive testing while making stream compatible to Network Media Tank
for adding Network Media Tank browser support to HTML pages
+
+Joachim König-Baltes
+ for fixing Min/MaxPriority parsing
diff --git a/HISTORY b/HISTORY
index 5374df9..1ad1ceb 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,6 +1,7 @@
eDR Plugin 'streamdev' Revision History
---------------------------------------
+- fixed parsing Min/MaxPriority from config (thanks to Joachim König-Baltes)
- updated Finnish translation (thanks to Rolf Ahrenberg)
- added Min/MaxPriority parameters. Can be used to keep client VDR from
using streamdev e.g. when recording
diff --git a/client/setup.c b/client/setup.c
index 553a11f..41464d2 100644
--- a/client/setup.c
+++ b/client/setup.c
@@ -1,5 +1,5 @@
/*
- * $Id: setup.c,v 1.5.2.1 2009/01/29 07:49:05 schmirl Exp $
+ * $Id: setup.c,v 1.5.2.2 2009/02/03 10:26:24 schmirl Exp $
*/
#include <vdr/menuitems.h>
@@ -33,8 +33,8 @@ bool cStreamdevClientSetup::SetupParse(const char *Name, const char *Value) {
else if (strcmp(Name, "StreamFilters") == 0) StreamFilters = atoi(Value);
else if (strcmp(Name, "SyncEPG") == 0) SyncEPG = atoi(Value);
else if (strcmp(Name, "HideMenuEntry") == 0) HideMenuEntry = atoi(Value);
- else if (strcmp(Name, "MinPriority") == 0) HideMenuEntry = atoi(Value);
- else if (strcmp(Name, "MaxPriority") == 0) HideMenuEntry = atoi(Value);
+ else if (strcmp(Name, "MinPriority") == 0) MinPriority = atoi(Value);
+ else if (strcmp(Name, "MaxPriority") == 0) MaxPriority = atoi(Value);
else return false;
return true;
}