Hi,

With kaa.metadata version 0.7.7 it seems that the english language code is
omitted. All other language codes show however.

as an example

>>>info = kaa.metadata.parse('/media/MEDIA-7A/Air Force One/Air Force
One.mkv' )
>>>print info.audio[1].language
German
>>> print info.audio[0].language
None

I ran mkvinfo on it and it was omitting the english language code as well,
even though mmg (the gui) shows english.

I recreated the file with undetermined as the language code in mmg and it
shows in mkvinfo as und .

However the above remains the same.

>>> info = kaa.metadata.parse('/home/dan/Desktop/Air Force One (1).mkv' )
>>> print info.audio[0].language
None
>>> print info.audio[0].langcode
None
>>> print info.audio[1].langcode
ger

What I propose is that either when the track doesn't have a language code
that you place the language code "eng"/"English". Or that when the lang code
is "und" that you show that as the lang code. As it stands it is impossible
to know whether the language is English or Undetermined from what
kaa.metadata returns.

Thanks!

Dan
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to