Page 3 of 4

Re: Edit the Channel list

Posted: Thu Dec 10, 2009 5:17 pm
by jw1001
LCN is fixed in the stream, so mustn't be changed. When you edit channel number on the TV, LCN stays the same. Don't touch it, only bytes 1,2. I think the previous version was OK.

Favourites now look OK. I added one and it changed to 0x23.

Encryption flags seem OK. All the encrypted channels show correctly in Editor except for LCN 34 ESPN. However, that still displays OK with the testbuild map installed. I couldn't spot anything in the record that was different. Maybe when the TV has a CI card installed with a valid subscription, the CA bit isn't set. Anyway, it's not something anyone would want to change, is it? It's not like changing that flag would do anything....? OK, I just tried changing it (with the previous testbuild) - turning a flag off or on seems to delete the channel from the TV, like the record is invalid, but only the actual CA channel gets added automatically. So, maybe this is the only way to permanently delete a channel.

I'll wait for the LCN to revert before testing the the latest build on the TV.

Re: Edit the Channel list

Posted: Fri Dec 11, 2009 10:55 am
by jw1001
It turns out the TV doesn't care if the LCN is changed - it lists the channels just the same. The testbuild and V0.41 are fine. I have re-numbered my favourites so they are at the top of the list - removing the annoyance of having to page through the EPG. Thanks for your efforts.

Re: Edit the Channel list

Posted: Mon Dec 21, 2009 3:50 pm
by jw1001
Most of UK has had up to 5 analogue broadcast channels on terrestrial, though these are being phased out.
I doubt it's worth editing, but here are details on my map-AirA:

There are 100 records at the start of the file, the rest is padded, all zeros.
For each record:

Byte 1 = 0x21 for unused record, 0x23 for allocated channel, or 0x27 for favourite
Byte 2 = 0x0C
Byte 3 = 0x00
Byte 4 = 0x08 for unused record, 0x28 for allocated channel
Byte 5 = 0x00 - 0x63 (0-99), consecutive, channel number
Byte 6 = 0x00
Byte 7 = 0x0C (4 main broadcast channels), 0x08 (fifth broadcast channel), 0x0A (PVR device, manually tuned)
Byte 8 = 0xFF for unused record, 0x0E for allocated channel
Bytes 9-13 = 0x00
Bytes 14-20 = station name (5 characters)
Bytes 21-27 = 0x00 for all channels
Byte 28 = checksum

There's nothing that looks like a channel or frequency.

Re: Edit the Channel list

Posted: Tue Dec 22, 2009 6:14 pm
by jw1001
The analogue channel mapping could be in file "FineTune". Byte 5 is the number corresponding to the channel list (0 - 5), while bytes 11 & 12 correspond to a frequency offset. It's possible the cable mapping could use the same file.
My channels have the following: (channel, UHF channel, bytes 11-12, freq. shown on "Info")
  • 0 21 0x43EB 471
    1 40 0x441B 623
    2 46 0x4427 671
    3 43 0x4421 647
    4 50 0x442E 703
    5 37 0x4415 599
UHF channel separation is 8 MHz. Each 2 steps in the offset seem to correspond to 1 channel, although it's not precise. Ch. 0 seems a little out, but this was manually tuned and could be slightly off.

Byte 15 = 0, except for ch 5 (=1), which is also the locked channel.

FineTune_Digital is a bit more of a puzzle. Mine has about 15 records, though I have only 6 multiplexes and > 100 stations.