mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-03-22 03:31:31 +01:00
- when appending unsorted channels during save, they are now set to
"hidden" and "skipped/unselectable" - reference lists: the satellite orbital position is no longer used to match channels. (Samsung J series does not provide that info). - Samsung J series: favorite lists are no longer individually sortable. (The same Pr# is used for all favorite lists). - Samsung J series: deleting channels now physically removes them from the file. (The TV might automatically append them again when it finds them in the DVB data stream). - Samsung J series: editing of channel names is now enabled. - Samsung J series: favorite E is now also available
This commit is contained in:
@@ -66,6 +66,8 @@ namespace ChanSort.Api
|
||||
int programNr;
|
||||
if (!int.TryParse(parts[1], out programNr)) return;
|
||||
string uid = parts[3];
|
||||
if (uid.StartsWith("S")) // remove satellite orbital position from UID ... not all TV models provide this information
|
||||
uid = "S" + uid.Substring(uid.IndexOf('-'));
|
||||
SignalSource signalSource = GetSignalSource(ref programNr, uid, parts);
|
||||
if (signalSource == 0)
|
||||
return;
|
||||
|
||||
@@ -271,8 +271,13 @@ namespace ChanSort.Api
|
||||
if (appChannel.RecordIndex < 0)
|
||||
continue;
|
||||
|
||||
if (appChannel.NewProgramNr == -1 && mode == UnsortedChannelMode.MarkDeleted)
|
||||
continue;
|
||||
if (appChannel.NewProgramNr == -1)
|
||||
{
|
||||
if (mode == UnsortedChannelMode.MarkDeleted)
|
||||
continue;
|
||||
appChannel.Hidden = true;
|
||||
appChannel.Skip = true;
|
||||
}
|
||||
|
||||
int progNr = GetNewPogramNr(appChannel, ref maxProgNr);
|
||||
appChannel.NewProgramNr = progNr;
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace ChanSort.Api
|
||||
{
|
||||
public class SupportedFeatures
|
||||
{
|
||||
public bool ChannelNameEdit { get; set; }
|
||||
public ChannelNameEditMode ChannelNameEdit { get; set; }
|
||||
public bool CleanUpChannelData { get; set; }
|
||||
public bool DeviceSettings { get; set; }
|
||||
public bool CanDeleteChannels { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user