On 21.12.2012 01:27, Martin wrote:
After some research I started sniffing the stream with dvbsnoop and I
found the language setting for DMAX, it is DEU. Now I've got to sniff
some more to make my list complete.
According to the iso is should be 'ger' I think but I found it, so it
will be soon in my client.
VDR uses the following list (see i18n.c) to map these codes to localized
versions:
const char *LanguageCodeList[] = {
"eng,dos",
"deu,ger",
"slv,slo",
"ita",
"dut,nla,nld",
"prt",
"fra,fre",
"nor",
"fin,suo",
"pol",
"esl,spa",
"ell,gre",
"sve,swe",
"rom,rum",
"hun",
"cat,cln",
"rus",
"srb,srp,scr,scc",
"hrv",
"est",
"dan",
"cze,ces",
"tur",
"ukr",
"ara",
NULL
};
The function ContainsCode() maps all incoming characters to lowercase,
so an incoming "DEU" should result in "deu".
Klaus
_______________________________________________
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr