Samsung .zip: Support for files that contain an empty SRV_EXT_APP table, which caused the whole list to show up empty.

This commit is contained in:
Horst Beham
2021-04-10 10:08:45 +02:00
parent 6e2358ffbb
commit 635d6404e0
2 changed files with 5 additions and 2 deletions

View File

@@ -347,7 +347,7 @@ namespace ChanSort.Loader.Samsung.Zip
sql += " from " + table + " inner join SRV on SRV.srvId="+table+".srvId inner join CHNL on CHNL.chId=SRV.chId";
if (this.tableNames.Contains("SRV_EXT_APP")) // in format 1352.0 there are duplicate "major" values in SRV and this recState seems to be the only difference
sql += " inner join SRV_EXT_APP on SRV_EXT_APP.srvId=SRV.srvId order by SRV.major, ifnull(SRV_EXT_APP.recState,0) desc";
sql += " left outer join SRV_EXT_APP on SRV_EXT_APP.srvId=SRV.srvId order by SRV.major, ifnull(SRV_EXT_APP.recState,0) desc";
return sql;
}

View File

@@ -1,7 +1,10 @@
ChanSort Change Log
===================
2021-04-02_1734:
2021-04-10
- Samsung .zip: Support for files that contain an empty SRV_EXT_APP table, which caused the whole list to show up empty.
2021-04-02_1734
- Philips: another fix for lists with missing s2channellib\\DVBSall.xml file
2021-04-02