- Philips: TV rejected modified lists because checksums inside chanLst.bin were not updated. This is now fixed.

- LG WebOS 5: fixed handling for deleted satellite radio channels (some TVs expect majorNumber 0, others 16384)
- "Open File Dialog" now works again when double-clicking on a shortcut to a directory (.lnk file).
- DevExpress library update
This commit is contained in:
Horst Beham
2020-11-16 20:43:56 +01:00
parent e1e2c8d305
commit 2c61c28b5f
28 changed files with 599 additions and 347 deletions

View File

@@ -210,7 +210,10 @@ namespace ChanSort.Ui
dlg.Filter = filter + string.Format(Resources.MainForm_FileDialog_OpenFileFilter, supportedExtensions);
dlg.FilterIndex = numberOfFilters + 1;
dlg.CheckFileExists = true;
dlg.DereferenceLinks = true;
dlg.RestoreDirectory = true;
dlg.CheckPathExists = true;
dlg.ValidateNames = true;
if (dlg.ShowDialog() != DialogResult.OK)
return;
@@ -232,12 +235,15 @@ namespace ChanSort.Ui
{
filter.Append(plugin.PluginName).Append("|").Append(plugin.FileFilter);
filter.Append("|");
if (!(";" + extension + ";").Contains(";" + plugin.FileFilter + ";"))
foreach (var ext in plugin.FileFilter.ToLower().Split(';'))
{
extension.Append(plugin.FileFilter);
extension.Append(";");
if (!(";" + extension + ";").Contains(";" + ext + ";"))
{
extension.Append(ext);
extension.Append(";");
}
++numberOfFilters;
}
++numberOfFilters;
}
if (extension.Length > 0)
extension.Remove(extension.Length - 1, 1);