mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-01-23 23:59:03 +01:00
- added support for LG 2013 LA series DVB-C/T lists
- fixed LG's LH series channel ordering (requires physical record reordering) - fixed LG's LH3000 2nd program number - disabled LG TV-data cleanup
This commit is contained in:
@@ -1,6 +1,33 @@
|
||||
; FileConfigurationX: overall file and DVB-S data layout
|
||||
; ACTChannelDataMappingX: analog, DVB-C and DVB-T channel data mapping for data length X
|
||||
|
||||
[ACTChannelDataMapping:256]
|
||||
; LA 2013 series
|
||||
reorderChannelData = 0
|
||||
lenName = 40
|
||||
offChannelTransponder = 10, 122, 170, 176
|
||||
offProgramNr = 12, 172
|
||||
offFavorites = 20
|
||||
offPcrPid = 24, 236
|
||||
offAudioPid = 26
|
||||
offVideoPid = 36
|
||||
offName = 40, 184
|
||||
offNameLength = 80, 183
|
||||
offServiceId = 82, 180
|
||||
offFrequencyLong = 124
|
||||
offOriginalNetworkId = 134
|
||||
offTransportStreamId = 136
|
||||
offFavorites2 = 178
|
||||
offDeleted = 178
|
||||
maskDeleted = 0x42
|
||||
offLock = 179
|
||||
maskLock = 0x01
|
||||
offSkip = 179
|
||||
maskSkip = 0x02
|
||||
offHide = 179
|
||||
maskHide = 0x04
|
||||
offServiceType = 182
|
||||
offAudioPid2 = 238
|
||||
|
||||
[ACTChannelDataMapping:192]
|
||||
; LM series with Firmware 4.x (all except LM611S and LM340S)
|
||||
@@ -190,6 +217,7 @@
|
||||
offOriginalNetworkId = 86
|
||||
offTransportStreamId = 88
|
||||
offFrequencyLong = 96
|
||||
offProgramNr2 = 104
|
||||
offFavorites2 = 109
|
||||
offDeleted = 109
|
||||
maskDeleted = 0x42
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//#define SYMBOL_RATE_ROUNDING
|
||||
//#define STORE_DVBS_CHANNELS_IN_DATABASE
|
||||
//#define STORE_DVBS_CHANNELS_IN_DATABASE
|
||||
//#define TESTING_LM640T_HACK
|
||||
|
||||
using System;
|
||||
@@ -10,7 +9,6 @@ using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using ChanSort.Api;
|
||||
using DevExpress.XtraEditors;
|
||||
|
||||
namespace ChanSort.Loader.LG
|
||||
{
|
||||
@@ -806,7 +804,9 @@ namespace ChanSort.Loader.LG
|
||||
{
|
||||
this.ReorderChannelData(this.analogBlockOffset + 8, this.actChannelSize, this.analogChannelCount, this.atvChannels.Channels);
|
||||
|
||||
var dvbCt = this.dtvChannels.Channels.Union(this.radioChannels.Channels).ToList();
|
||||
var tv = this.dtvChannels.Channels.OrderBy(c => c.NewProgramNr);
|
||||
var radio = this.radioChannels.Channels.OrderBy(c => c.NewProgramNr);
|
||||
var dvbCt = tv.Union(radio).ToList();
|
||||
this.ReorderChannelData(this.dvbctBlockOffset + 8, this.actChannelSize, this.dvbctChannelCount, dvbCt);
|
||||
}
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user