[mythtv-users] Up-To-Date (UK) FreeSAT channel numbers?

Nick Morrott knowledgejunkie at gmail.com
Mon Feb 2 04:08:11 UTC 2009


On 02/02/2009, R. G. Newbury <newbury at mandamus.org> wrote:
> Bradley Kite wrote:
>
> > Hi there.
> >
> > Does any body have a proper list of free-set channels and their
> > numbers? From scanning, the numbers are all messed up, like BBC 1 is
> > 6302 instead of 101. All the channel numbers from the scan are in
> > their thousands and make no sense.
> >
> > I found a list on the web here:
> > http://www.radioandtelly.co.uk/freesatchannels.html but
> it seems out
> > of date.
> >
> > I'm trying to work on a way to automatically map the channel-numbers
> > from the scan into something more sensible, so that after a scan you
> > dont have to re-do every thing again in the channel editor.
> >
>
>  If you are doing the scan in myth, the starting digit of chanid depends
> upon the card number. So this scan was done with your *sixth* card. You have
> probably played with your card setups and not re-set the card count.

Incorrect. The starting digit of chanid depends on the sourceid of the
video source the channel belongs to. It seems that the value of
sourceid is multiplied by 1000, and then the value of channum is
added. During scanning in mythtv-setup, channel numbers (channum) can
be obtained from either the serviceid of the channel (currently for
DVB-S which can result in very large values of channum) or from the
FreeView EPG channel number (which gives more reasonable channel
numbering) for DVB-T.

I'm quite sure the OP was reporting the value of channum (not chanid)
which was set from a DVB-S scan. The serviceid of BBC2 England
broadcast on DVB-S is 6302.

>  If you do a 'delete all cards' in mythtv-setup you will re-set that counter
> and further scans will be numbered by the order in which you enter the
> card(s) again.

If what I say above is correct, choosing "Delete all video sources" is
what will help to reset the _chanid_ numbering, but likely not have
any bearing on the channel numbers (channum) seen on the OSD and in
the EPG if using DVB-T or DVB-S.

>  Chanid is not the same thing as channum. Channum is what appears onscreen,
> but chanid is used internally.

Also remember that chanid must be unique for each entry in the channel
table. Channel number does not have this restriction.

Nick

-- 
Nick Morrott

MythTV Official wiki:
http://mythtv.org/wiki/
MythTV users list archive:
http://www.gossamer-threads.com/lists/mythtv/users

"An investment in knowledge always pays the best interest." - Benjamin Franklin


More information about the mythtv-users mailing list