[mythtv] Sorting in EPG Program Finder

Torbjörn Jansson torbjorn.jansson at mbox200.swipnet.se
Tue May 13 01:00:40 EDT 2003


Does the program finder work with non english characters? For example the
swedish characters å, ä and ö

> -----Original Message-----
> From: mythtv-dev-bounces at snowman.net 
> [mailto:mythtv-dev-bounces at snowman.net] On Behalf Of Ben Marchandise
> Sent: Monday, May 12, 2003 7:25 PM
> To: mythtv-dev at snowman.net
> Subject: [mythtv] Sorting in EPG Program Finder
> 
> 
> Hello team,
> 
> In the EPG program finder, the programs are classified
> using the first letter of the program name, except if
> the  first word is "The" or "A". In this case, the
> next word is used.
> 
> This is an interesting feature, but obviously it works
> in English only. I have written a patch to have it
> work with any language via customization.
> It uses a record of the settings table for now, but
> ideally it should be a part of the localization work
> elsewhere.
> 
> To use this patch, just insert an 'Articles' record
> into the settings table: it is a list of possible
> articles,separated by "-". Examples:
> 
> * for English (no need to do it for real, as it is the
> default value):
> INSERT INTO settings (value, data) VALUES ('Articles',
> 'A -The ');
> It should work as before: A / The
> 
> * for French
> INSERT INTO settings (value, data) VALUES ('Articles',
> 'Le -La -Les -L\'');
> 
> Moreover, this patch fixes a problem with duplicated
> rows in the program finder.
> 
> Please ask me if you want more explanations. I hope it
> 
> can find its way into CVS. Feel free to modify it if
> needed, of course.
> 
> Ben.




More information about the mythtv-dev mailing list