diff --git a/ChanSort.Api/Model/ChannelInfo.cs b/ChanSort.Api/Model/ChannelInfo.cs index 831686d..42ecdcc 100644 --- a/ChanSort.Api/Model/ChannelInfo.cs +++ b/ChanSort.Api/Model/ChannelInfo.cs @@ -68,6 +68,8 @@ namespace ChanSort.Api { this.SignalSource = source; this.Uid = uid; + this.RecordIndex = -1; + this.RecordOrder = -1; this.OldProgramNr = -1; this.NewProgramNr = newProgNr; this.Name = name; diff --git a/ChanSort.Loader.TllFile/TllChannelBase.cs b/ChanSort.Loader.TllFile/TllChannelBase.cs index 3b5fb5c..e78195c 100644 --- a/ChanSort.Loader.TllFile/TllChannelBase.cs +++ b/ChanSort.Loader.TllFile/TllChannelBase.cs @@ -109,6 +109,8 @@ namespace ChanSort.Loader.LG } else mapping.SetFlag(_Moved, true); + + this.OldProgramNr = this.NewProgramNr; } #endregion diff --git a/ChanSort.Loader.TllFile/TllFileSerializer.cs b/ChanSort.Loader.TllFile/TllFileSerializer.cs index a756fde..0df9948 100644 --- a/ChanSort.Loader.TllFile/TllFileSerializer.cs +++ b/ChanSort.Loader.TllFile/TllFileSerializer.cs @@ -775,8 +775,7 @@ namespace ChanSort.Loader.LG ++newAnalogChannelCount; else if ((channel.SignalSource & SignalSource.DvbCT) != 0) ++newDvbctChannelCount; - } - channel.OldProgramNr = channel.NewProgramNr; + } channel.UpdateRawData(); } } diff --git a/readme.txt b/readme.txt index 2426b5a..608f1ec 100644 --- a/readme.txt +++ b/readme.txt @@ -10,6 +10,8 @@ Changes: - Fixed: Program number and channel name can be edited again by directly typing the number or name on the keyboard. - Fixed: Sorting and column layout is now preserved when switching lists +- Fixed: Missing channels from a reference list appeared as valid channels + in the UI after saving a TLL file. The complete change log can be found at the end of this document @@ -117,6 +119,8 @@ Change log ================================================================ - Fixed: Program number and channel name can be edited again by directly typing the number or name on the keyboard. - Fixed: Sorting and column layout is now preserved when switching lists +- Fixed: Missing channels from a reference list appeared as valid channels + in the UI after saving a TLL file. 2013-04-21 - Fix: Encryption flag for Samsung analog and DVB-C/T lists now shown