- Sony: DVB-T and DVB-C lists are now separated into "TV", "Radio" and "Other" lists, each with their own unique numbering

- Samsung ZIP: deleting a channel now really deletes it from the file, instead of marking it as deleted
  and assigning -1 as channel number (which appears as 65535 on some models)
This commit is contained in:
hbeham
2019-08-11 17:27:07 +02:00
parent 8aee8a75d0
commit 0c348ed151
6 changed files with 102 additions and 59 deletions

View File

@@ -149,9 +149,11 @@ namespace ChanSort.Api
if (ch == '\0')
{
// read as many bytes as necessary to get a character
char[] charArray = new char[1];
for (int byteCnt = 1; decoder.GetChars(name, i, byteCnt, charArray, 0) == 0; byteCnt++)
++i;
char[] charArray = new char[5];
int byteCnt;
for (byteCnt = 1; decoder.GetChars(name, i, byteCnt, charArray, 0) == 0; byteCnt++)
{
}
ch = charArray[0];
}
if (ch == '\0')