mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-02-20 05:16:45 +01: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:
@@ -36,7 +36,6 @@ namespace ChanSort.Api
|
||||
public bool CanHaveGaps { get; set; } = true;
|
||||
public bool EncryptedFlagEdit { get; set; }
|
||||
public DeleteMode DeleteMode { get; set; } = DeleteMode.NotSupported;
|
||||
public bool CanSaveAs { get; set; } = true;
|
||||
|
||||
|
||||
public FavoritesMode FavoritesMode
|
||||
|
||||
@@ -44,7 +44,6 @@ namespace ChanSort.Loader.Android
|
||||
this.Features.CanLockChannels = true;
|
||||
this.Features.CanHideChannels = true;
|
||||
this.Features.DeleteMode = DeleteMode.Physically;
|
||||
this.Features.CanSaveAs = true;
|
||||
this.Features.CanHaveGaps = true; // at least the DVB-S Data list had gaps
|
||||
this.Features.FavoritesMode = FavoritesMode.OrderedPerSource;
|
||||
this.Features.MaxFavoriteLists = 1;
|
||||
|
||||
@@ -40,7 +40,6 @@ namespace ChanSort.Loader.Enigma2
|
||||
this.Features.CanHideChannels = false;
|
||||
this.Features.FavoritesMode = FavoritesMode.MixedSource;
|
||||
this.Features.MaxFavoriteLists = 0; // dynamically added
|
||||
this.Features.CanSaveAs = false;
|
||||
|
||||
this.channels.IsMixedSourceFavoritesList = true;
|
||||
this.DataRoot.AddChannelList(this.channels);
|
||||
|
||||
@@ -31,7 +31,6 @@ namespace ChanSort.Loader.Grundig
|
||||
this.Features.CanLockChannels = true;
|
||||
this.Features.CanHideChannels = true;
|
||||
this.Features.DeleteMode = DeleteMode.Physically;
|
||||
this.Features.CanSaveAs = false;
|
||||
this.Features.AllowGapsInFavNumbers = false;
|
||||
this.Features.CanEditFavListNames = false;
|
||||
this.Features.FavoritesMode = FavoritesMode.OrderedPerSource;
|
||||
|
||||
@@ -28,7 +28,6 @@ namespace ChanSort.Loader.GlobalClone
|
||||
this.Features.DeleteMode = DeleteMode.NotSupported; //.FlagWithoutPrNr;
|
||||
this.Features.ChannelNameEdit = ChannelNameEditMode.All;
|
||||
this.Features.FavoritesMode = FavoritesMode.None;
|
||||
this.Features.CanSaveAs = true;
|
||||
this.Features.CanHaveGaps = true;
|
||||
this.Features.CanHideChannels = true;
|
||||
this.Features.CanSkipChannels = true;
|
||||
|
||||
@@ -27,7 +27,6 @@ namespace ChanSort.Loader.GlobalClone
|
||||
this.Features.ChannelNameEdit = ChannelNameEditMode.All;
|
||||
this.Features.DeleteMode = DeleteMode.FlagWithoutPrNr;
|
||||
this.Features.CanHaveGaps = true;
|
||||
this.Features.CanSaveAs = true;
|
||||
this.Features.CanSkipChannels = true;
|
||||
this.Features.CanLockChannels = true;
|
||||
this.Features.CanHideChannels = true;
|
||||
|
||||
@@ -154,7 +154,6 @@ internal class IdtvChannelSerializer : SerializerBase
|
||||
dbFile = Path.Combine(dir, "tv.db");
|
||||
binFile = Path.Combine(dir, "channel", "idtvChannel.bin");
|
||||
|
||||
this.Features.CanSaveAs = false;
|
||||
this.Features.FavoritesMode = FavoritesMode.Flags;
|
||||
this.Features.DeleteMode = DeleteMode.FlagWithPrNr;
|
||||
|
||||
|
||||
@@ -41,7 +41,6 @@ namespace ChanSort.Loader.Panasonic
|
||||
this.Features.CanLockChannels = false;
|
||||
this.Features.CanHideChannels = false;
|
||||
this.Features.DeleteMode = DeleteMode.NotSupported;
|
||||
this.Features.CanSaveAs = true;
|
||||
this.Features.AllowGapsInFavNumbers = true;
|
||||
this.Features.CanEditFavListNames = false;
|
||||
|
||||
|
||||
@@ -76,7 +76,6 @@ namespace ChanSort.Loader.Philips
|
||||
this.Features.CanLockChannels = true;
|
||||
this.Features.CanHideChannels = false;
|
||||
this.Features.DeleteMode = DeleteMode.NotSupported;
|
||||
this.Features.CanSaveAs = false;
|
||||
this.Features.CanHaveGaps = false;
|
||||
this.Features.FavoritesMode = FavoritesMode.Flags; // satellite favorites are stored in a separate file that may support independent sorting, but DVB C/T only have a flag
|
||||
this.Features.MaxFavoriteLists = 1; // Map45 format will change this
|
||||
|
||||
@@ -106,7 +106,6 @@ namespace ChanSort.Loader.Philips
|
||||
this.Features.CanLockChannels = true;
|
||||
this.Features.CanHideChannels = true;
|
||||
this.Features.DeleteMode = DeleteMode.NotSupported;
|
||||
this.Features.CanSaveAs = false;
|
||||
this.Features.AllowGapsInFavNumbers = false;
|
||||
this.Features.CanEditFavListNames = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user