Skip to content

Commit

Permalink
fix detect S2X transponder from satellites.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
TangoCash committed Oct 19, 2020
1 parent 2e8b7f9 commit b72d052
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/zapit/src/getservices.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,8 @@ void CServiceManager::ParseSatTransponders(delivery_system_t delsys, xmlNodePtr
feparams.pls_code = xmlGetNumericAttribute(tps, "pls_code", 0);
if (feparams.pls_code == 0)
feparams.pls_code = 1;
if ((feparams.delsys == DVB_S2) && (feparams.pls_mode > 0) && (feparams.pls_code > 1))
feparams.delsys = DVB_S2X;
}
else if (CFrontend::isTerr(delsys)) {
const char *system = xmlGetAttribute(tps, "system");
Expand Down

0 comments on commit b72d052

Please sign in to comment.