From: Billy Biggs <vektor@xxxxxxxxxxxx> Subject: Re: Frequency table library suggestion Date: Fri, 29 Nov 2002 00:35:29 -0600 > I also went through some pain in trying to figure out the frequency > list mess in tvtime. We haven't decided on a solution officially. I had posted my first suggetion after seeing diff between XawTV and tvtime frequency table lists. :) > At first I believed that a config file for frequency lists would be a > good idea. I thought the best place to start would be the frequency > list from the DScaler project. Looking at Gerd's frequency tables, one > thing I like about it is that it's one file, rather than a whole load of > very whitespaced/verbose files. I prefer the DScaler file. I think the verbosity isn't bad temper for the open format. Even if verbose format is not welcomed, we can generate simpler file from it. It would be better to enable to combine multilple files into one file by a script. We can also generate it from XML, or to XML. (I don't think someone need XML based frequency table, but this is just an example) > However, diz sort of convinced me that having the frequency table in > the executable isn't such a bad idea. For one, it lets you handle > HRC/IRC NTSC cable modes better, and arguably the tables should very > rarely ever be updated. Also, the frequencies.h in his latest tvset was > much nicer than the one that everyone seems to be using now. Could you tell me what is "HRC/IRC NTSC cable mode" and what's the problem? I'm very sorry I know only Japanese broad cast things. > Maybe this weekend when I get a chance to re-clean-up our frequency code > I'll post my suggestion for a header file solution. Otherwise, if we do > want to standardize on a config file format, I'd rather go with the > DScaler channels.txt file. I have an additional suggestion to Gerd's format. It would be nice to add a "user friendly table name" for each file. For example, it would be better to display "Japanese broadcast" than "japanese-bcast" for TV applications with GUI. Of course, the later name is good to input from a keyboard for the user. Kentaro