mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-02-05 05:59:03 +01:00
- 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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user