[mythtv] [PATCH] Use callsign for scheduling

David Shay david at shay.net
Thu Apr 15 13:33:52 EDT 2004

> >>The way I am currently implementing this is to dump the station ID field
from datadirect into the xmltvid field in "channel".  Does it make more
sense to do this a different way?  Since there are already database changes
associated with this patch, I could easily add another field specifically
for stationid and populate it from datadirect.
> >>
> Shouldn't stationid be an integer, used only side the DB?

>From a datadirect standpoint, there is the station id, which is an integer
(up to 12 digits).  This uniquely identifies a specific broadcast station.
Then there is the channel, which is what you tune your TV to, this maps to a
station in a particular lineup.  The channel "number" is actually 5 alpha
characters.  This is always a number except for satellites, where there
could be alpha's and dashes.

> Because XMLTV deals with programme, not physical distribution, the
> xmltvid identifies the station, not the channel. A list of xmltvid that
> my grabber used can be found at
> <http://www.bucksch.com/1/projects/various/xmltv/channels.html>, other
> grabbers use the station identifer that the data feed uses, plus a
> unique domain.

I am mainly focusing on the internal grabber, which does not use the XMLTV
standards or IDs.

More information about the mythtv-dev mailing list