mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-02-20 21:36:49 +01:00
- Upgrade to DevExpress 20.2.6
- Philips: ignore read-only files during load (which cause an error when saving the list)
This commit is contained in:
@@ -183,6 +183,15 @@ namespace ChanSort.Loader.Philips
|
||||
{
|
||||
if (!File.Exists(fileName))
|
||||
return;
|
||||
|
||||
// skip read-only files (like hidden read-only DVBSall.xml on a Philips 24PFS5535 from 2020 (along with)
|
||||
var info = new FileInfo(fileName);
|
||||
if ((info.Attributes & FileAttributes.ReadOnly) != 0)
|
||||
{
|
||||
this.logMessages.AppendLine($"Skipping read-only file {fileName}");
|
||||
return;
|
||||
}
|
||||
|
||||
bool fail = false;
|
||||
var fileData = new FileData();
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user