mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-05-07 10:16:55 +02:00
- added function to mark a channel for swapping + swap with current channel
- replaced misuse of "FileLoadException" with a custom LoaderException to handle file loading issues with better continue/fail logic - removed "Save As" and replaced it with "Convert list" menu item that shows information on how to use a reference list instead of direct conversion
This commit is contained in:
@@ -78,7 +78,7 @@ namespace ChanSort.Loader.Grundig
|
||||
this.LoadFile(fullPath);
|
||||
}
|
||||
if (this.fileDataList.Count == 0)
|
||||
throw new FileLoadException("No dvb*_config.xml files found in folder structure");
|
||||
throw LoaderException.TryNext("No dvb*_config.xml files found in folder structure");
|
||||
}
|
||||
#endregion
|
||||
|
||||
@@ -134,7 +134,7 @@ namespace ChanSort.Loader.Grundig
|
||||
while (root.LocalName == "#whitespace")
|
||||
root = root.NextSibling;
|
||||
if (fail || root == null || root.LocalName != "CONFIG")
|
||||
throw new FileLoadException("\"" + fileName + "\" is not a supported Grundig XML file");
|
||||
throw LoaderException.Fail("\"" + fileName + "\" is not a supported Grundig XML file");
|
||||
|
||||
int transponderId = 0;
|
||||
int chanId = 0;
|
||||
|
||||
Reference in New Issue
Block a user