﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
9417	Mythfilldatabase doesn't populate the xmltvid field for non us countries,	laurent@…	stuartm	"Hello,

Setup of mythtv channel table for non us countries is difficult because there is no default way to populate the xmltvid field on the channel table. User may have two options:

1/ They do a channel scan from the tuner. After this, they have to manuel fill the xmltvid field in the database before they call mythfilldatabase to update the program table. They are script to automtically fill the xmltvid field in the database like this one :http://mythtv-fr.tuxfamily.org/wiki/telechargement_icone_tv.

2/ They begin by using the grabber to fill the channel table. In this case, xmltvid are correctly set, but the frequency of each channel have to be fill manually.

My proposal is a patch on mythfilldatabase. If mythfilldatabase don't find the xmltvid in channeldata::handleChannels, it will try to match the callsign already in the channel table (coming from the channel scan), and the one coming from the xmltv file. Most of the time, this match is sufficient to update the xmltvid field.

With this patch, people will be able:
1/ First step: do the channel scan.
2/ Second step: update xmltvid field and program with a mythfilldatabase --update --source n file.xmltv

"	Patch - Feature	closed	minor	0.27	MythTV - Mythfilldatabase	Master Head	medium	fixed			0
