[mythtv] Little bug with MythWeather...

Matt Zimmerman mdz at debian.org
Thu Jun 3 13:19:17 EDT 2004


On Wed, Jun 02, 2004 at 04:42:31PM -0700, Bolton Emlyn (Nokia-TP-MSW/Vancouver) wrote:

> I'm happy to do a patch / fix, the three possible solutions I can see:
> 
> 1. Move the city data file around (least effort, least change)
> 2. Convert the data file to XML and use a parser
> 3. Prompt the user for the case when duplicates occur in the data
> 
> Any strong opinions on any of these solutions?

I prefer:

4. Tokenize the line first, and use the full city name for the comparison
rather than using strstr() to search the whole line


-- 
 - mdz


More information about the mythtv-dev mailing list