mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
Fixed parsing Min/MaxPriority from config
This commit is contained in:
parent
479d5c4b48
commit
37f2adf02b
@ -105,3 +105,6 @@ Jori Hamalainen
|
|||||||
|
|
||||||
owagner
|
owagner
|
||||||
for pointing out a problem with the encrypted channel switching fix
|
for pointing out a problem with the encrypted channel switching fix
|
||||||
|
|
||||||
|
Joachim König-Baltes
|
||||||
|
for fixing Min/MaxPriority parsing
|
||||||
|
1
HISTORY
1
HISTORY
@ -1,6 +1,7 @@
|
|||||||
VDR Plugin 'streamdev' Revision History
|
VDR Plugin 'streamdev' Revision History
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
|
- fixed parsing Min/MaxPriority from config (thanks to Joachim König-Baltes)
|
||||||
- updated Finnish translation (thanks to Rolf Ahrenberg)
|
- updated Finnish translation (thanks to Rolf Ahrenberg)
|
||||||
- added Min/MaxPriority parameters. Can be used to keep client VDR from
|
- added Min/MaxPriority parameters. Can be used to keep client VDR from
|
||||||
using streamdev e.g. when recording
|
using streamdev e.g. when recording
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: setup.c,v 1.7 2009/01/29 07:48:59 schmirl Exp $
|
* $Id: setup.c,v 1.8 2009/02/03 10:26:21 schmirl Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <vdr/menuitems.h>
|
#include <vdr/menuitems.h>
|
||||||
@ -32,8 +32,8 @@ bool cStreamdevClientSetup::SetupParse(const char *Name, const char *Value) {
|
|||||||
else if (strcmp(Name, "StreamFilters") == 0) StreamFilters = atoi(Value);
|
else if (strcmp(Name, "StreamFilters") == 0) StreamFilters = atoi(Value);
|
||||||
else if (strcmp(Name, "SyncEPG") == 0) SyncEPG = atoi(Value);
|
else if (strcmp(Name, "SyncEPG") == 0) SyncEPG = atoi(Value);
|
||||||
else if (strcmp(Name, "HideMenuEntry") == 0) HideMenuEntry = atoi(Value);
|
else if (strcmp(Name, "HideMenuEntry") == 0) HideMenuEntry = atoi(Value);
|
||||||
else if (strcmp(Name, "MinPriority") == 0) HideMenuEntry = atoi(Value);
|
else if (strcmp(Name, "MinPriority") == 0) MinPriority = atoi(Value);
|
||||||
else if (strcmp(Name, "MaxPriority") == 0) HideMenuEntry = atoi(Value);
|
else if (strcmp(Name, "MaxPriority") == 0) MaxPriority = atoi(Value);
|
||||||
else return false;
|
else return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user