[vdr] UK users - multiple BBC One/Two/News in channels list
laz at club-burniston.co.uk
Thu Nov 4 10:36:30 CET 2010
On Wednesday 03 Nov 2010, Torgeir Veimo wrote:
> On 4 November 2010 09:24, Alasdair Campbell <alcoheca at gmail.com> wrote:
> > After leaving it for a few hours this is what I have, note BBC ONE at
> > the very bottom, the EPG is available here but no video stream, same
> > with BBC TWO elsewhere.
> Here's my last working one, from two and a half year ago. Notice the
> frequencies are different;
> :9018:4100:0 BBC
> Channel 4;Channel 4
> :0 ITV2;ITV:482000:B8:T:27500:530:531=eng,532=eng:0:0:8325:9018:8197:0
> E4;Channel 4
> More 4;Channel 4
> 0:0 Five
> 0 Film4;Channel 4 TV:538000:B8:T:27500:0:0:0:0:27136:9018:24576:0 BBC
> 2045:0 BBC
One thing that can be a pain is having to manually reorder the channel
list when new channels are added or they change what their assigned
channel number is. Or new channels appear right at the end of the channel
list (which still includes out-dated channels!).
It would be nice if vdr had an option to set channel numbers based on the
values that are encoded into the streams. I don't know enough about DVB
standards to know where to find those numbers (LCN, Logical Channel
Numbers, I think) but I do seem to remember someone on here a couple of
years back mentioning a script which would reorder the channel listing to
the "correct" numbering.
Actually, I think that "scan" has an option to add the LCNs to a generated
channels.conf. A bit of digging finds:
"The channel numbers can be found in the NIT table as the user-defined
descriptor 0x83 and each channel number has a corresponding Service ID
which is included in the descriptor"
Now...would it be as simple as extracting the LCN and then calling
cChannel->SetNumber() for the relevant channel? Does a new channels.conf
then get written (at some point) including the relevant :@number entries
so that it all works?
I might have a go to see if I can get this working but it won't be for a
while due to other commitments.
I realise that a lot of people don't worry about channel numbers but it
sort of makes sense to me, at least for DVB-T where there are
significantly fewer channels than on DVB-S, for example. It's also the way
that "proper" STBs do it and most people (at least in the UK) would expect
their normal channel numbers.
More information about the vdr