[vdr] LanguageCode

Boguslaw Juza bogdan at uci.agh.edu.pl
Tue Oct 3 16:53:28 CEST 2006


     Hi!

There are channels (mostly audio-only) witch spaces in LanguageCode.
For example:

XtraMusicPop:11278:v:S13.0E:27500:0:611=A 1,612=A 2,613=A 3,614=A 4,615=A 
5,616=A 6,617=A 7,618=A 8,619=A 9,620=A10:0:100:13042:318:400:0

so I ask for little patch in i18n.c:I18nNormalizeLanguageCode:

-  if (Code[0] && !isalnum(Code[0]) || Code[1] && !isalnum(Code[1]) ...
+  if ( (Code[0] && !(isalnum(Code[0]) || Code[0]==' ')) ||
+       (Code[1] && !(isalnum(Code[1]) || Code[1]==' ')) ||
+       (Code[2] && !(isalnum(Code[2]) || Code[2]==' ')) ) {


                                            Boguslaw Juza




More information about the vdr mailing list