[mythtv] [PATCH] Use callsign for scheduling

Ben Bucksch linux.news at bucksch.org
Thu Apr 15 11:40:06 EDT 2004

David Engel wrote:

>On Thu, Apr 15, 2004 at 09:20:21AM -0400, David Shay wrote:
>>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?

>It probably makes sense to add a station field to the channel table
>instead of reusing xmltvid.  xmltvid appears to be more of a channel
>ID than a station ID.
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.

The exception is US/Canada, where the XMLTV data contains the physical 
channel. But I thought only in the display field (due to lack of a 
better way, to arrive in XMLTV version 0.6), not the id?

More information about the mythtv-dev mailing list