mirror of
https://github.com/rofafor/vdr-plugin-satip.git
synced 2023-10-10 13:37:42 +02:00
Removed DVB-C model quirks from OctopusNet. The firmware version 1.0.40 looks correct.
This commit is contained in:
parent
4b714196f3
commit
fa226b0d2f
11
server.c
11
server.c
@ -60,11 +60,6 @@ cSatipServer::cSatipServer(const char *addressP, const char *modelP, const char
|
|||||||
modelCountM[eSatipModuleDVBT2] = atoi(++c);
|
modelCountM[eSatipModuleDVBT2] = atoi(++c);
|
||||||
else
|
else
|
||||||
modelCountM[eSatipModuleDVBT2] = 1;
|
modelCountM[eSatipModuleDVBT2] = 1;
|
||||||
// Add model quirks here
|
|
||||||
if (!isempty(*descriptionM) && strstr(*descriptionM, "OctopusNet")) {
|
|
||||||
modelTypeM |= cSatipServer::eSatipModelTypeDVBC;
|
|
||||||
modelCountM[eSatipModuleDVBC] = modelCountM[eSatipModuleDVBT2];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (strstr(r, "DVBT")) {
|
if (strstr(r, "DVBT")) {
|
||||||
modelTypeM |= cSatipServer::eSatipModelTypeDVBT;
|
modelTypeM |= cSatipServer::eSatipModelTypeDVBT;
|
||||||
@ -72,10 +67,6 @@ cSatipServer::cSatipServer(const char *addressP, const char *modelP, const char
|
|||||||
modelCountM[eSatipModuleDVBT] = atoi(++c);
|
modelCountM[eSatipModuleDVBT] = atoi(++c);
|
||||||
else
|
else
|
||||||
modelCountM[eSatipModuleDVBT] = 1;
|
modelCountM[eSatipModuleDVBT] = 1;
|
||||||
// Add model quirks here
|
|
||||||
if (!isempty(*descriptionM) && strstr(*descriptionM, "OctopusNet"))
|
|
||||||
modelTypeM |= cSatipServer::eSatipModelTypeDVBC;
|
|
||||||
modelCountM[eSatipModuleDVBC] = modelCountM[eSatipModuleDVBT];
|
|
||||||
}
|
}
|
||||||
if (strstr(r, "DVBC2")) {
|
if (strstr(r, "DVBC2")) {
|
||||||
modelTypeM |= cSatipServer::eSatipModelTypeDVBC2;
|
modelTypeM |= cSatipServer::eSatipModelTypeDVBC2;
|
||||||
@ -83,7 +74,6 @@ cSatipServer::cSatipServer(const char *addressP, const char *modelP, const char
|
|||||||
modelCountM[eSatipModuleDVBC2] = atoi(++c);
|
modelCountM[eSatipModuleDVBC2] = atoi(++c);
|
||||||
else
|
else
|
||||||
modelCountM[eSatipModuleDVBC2] = 1;
|
modelCountM[eSatipModuleDVBC2] = 1;
|
||||||
// Add model quirks here
|
|
||||||
}
|
}
|
||||||
if (strstr(r, "DVBC")) {
|
if (strstr(r, "DVBC")) {
|
||||||
modelTypeM |= cSatipServer::eSatipModelTypeDVBC;
|
modelTypeM |= cSatipServer::eSatipModelTypeDVBC;
|
||||||
@ -91,7 +81,6 @@ cSatipServer::cSatipServer(const char *addressP, const char *modelP, const char
|
|||||||
modelCountM[eSatipModuleDVBC] = atoi(++c);
|
modelCountM[eSatipModuleDVBC] = atoi(++c);
|
||||||
else
|
else
|
||||||
modelCountM[eSatipModuleDVBC] = 1;
|
modelCountM[eSatipModuleDVBC] = 1;
|
||||||
// Add model quirks here
|
|
||||||
}
|
}
|
||||||
r = strtok_r(NULL, ",", &s);
|
r = strtok_r(NULL, ",", &s);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user