- check for updates can now handle multiple updates on a specific day

- fixed applying favorites from a reference list (it showed fav letters on the channels, but the fav lists were empty)
- added Polish translation (thanks to Jakub Driver!)
- potential fix for Samsung 1352.0 format, which can contain channels marked as deleted
This commit is contained in:
Horst Beham
2020-03-14 16:54:42 +01:00
parent 40f36c58c6
commit f42483de23
39 changed files with 3026 additions and 31 deletions

View File

@@ -55,8 +55,9 @@ namespace ChanSort.Ui
if (start >= 0)
{
int end = response.IndexOf(".zip", start);
if (end == start + SearchString.Length + 10)
return response.Substring(start + SearchString.Length, 10);
int len = end - start - SearchString.Length;
if (len >= 10) // YYYY-MM-DD plus optional suffix for a revision
return response.Substring(start + SearchString.Length, len);
}
return string.Empty;
}