mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-05-06 10:07:36 +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:
@@ -150,7 +150,7 @@ namespace ChanSort.Loader.Hisense.ChannelDb
|
||||
this.LoadTableNames(cmd);
|
||||
|
||||
if (!tableNames.Contains("svl_1") && !tableNames.Contains("svl_2") && !tableNames.Contains("svl_3"))
|
||||
throw new FileLoadException("File doesn't contain svl_* tables");
|
||||
throw LoaderException.Fail("File doesn't contain svl_* tables");
|
||||
|
||||
this.LoadSatelliteData(cmd);
|
||||
this.LoadTslData(cmd);
|
||||
|
||||
@@ -130,7 +130,7 @@ namespace ChanSort.Loader.Hisense.ServicelistDb
|
||||
|
||||
// make sure this .db file contains the required tables
|
||||
if (dbSchema == null || !tableNames.Contains("service") || !tableNames.Contains("tuner"))
|
||||
throw new FileLoadException("File doesn't contain the expected tables");
|
||||
throw LoaderException.Fail("File doesn't contain the expected tables");
|
||||
|
||||
LoadLists(cmd);
|
||||
LoadTunerData(cmd);
|
||||
|
||||
Reference in New Issue
Block a user