My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
FilenameLanguage  
How to derive languages from the video filename
Filename, Language
Updated Mar 26, 2010 by Stuart.Boston

Introduction

MovieJukebox can use tags in the filename of a video to determine the language of the video.

If the property filename.scanner.language.detection is set in the moviejukebox.properties file, then the tags below will show a language flag on the poster artwork.

The flag artwork will be taken from the skin\resources\languages directory with the filename of language.png.

Example

If the filename is

videoname.HEBREW.mkv

then the file skin\resources\languages\Hebrew.png will be applied to the poster.

Adding New Languages

There are two properties that control the languages that are detected by MovieJukebox. The first lists the languages that are detected and the second lists the codes that are used to detect that language.

Properties

filename.scanner.language.keywords

List the languages that you want to detect in this property. The values you specify in this property will also determine the name of the language flag file that is applied to the thumbnail and poster if required. See these properties: thumbnails.language & posters.language

These keywords MUST NOT have spaces in them.

For example

filename.scanner.language.keywords=MyLanguage

filename.scanner.language.<Language>

For each of the language codes listed in the filename.scanner.language.keywords property above, there needs to be a corresponding set of values defined in these properties.

From the example above you would create the following property:

filename.scanner.language.MyLanguage=MYL,Myl,myl,MyLanguage,mylanguage
Comment by Kevin.du...@gmail.com, Jan 29, 2010

How do you add a language ?? ive added the flag allread but where to add language abreviations?

Comment by project member Stuart.Boston, Jan 29, 2010

It requires a code change at the moment, please log an issue for it

Comment by luca.fer...@gmail.com, Feb 1, 2010

How can you add language abbrevation in a multi-part filename? Which is the right order? CD1.EN or EN.CD1? or something else? Thanks

Comment by project member Stuart.Boston, Feb 1, 2010

filename.en.CD1?.mkv, etc.

Comment by erik.gau...@banshee.org, Feb 14, 2010

If we have 2 audio track (english and French), how do we name it ? filename.ENGLISH.FRENCH.mkv ?

Comment by fgad...@gmail.com, Mar 6, 2010

Hi, many french movies have a FRE language that is not understood by the code

Comment by project member Stuart.Boston, Mar 6, 2010

We use the ISO 639 codes in YAMJ http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes

Comment by fgad...@gmail.com, Mar 7, 2010

too bad for me fre is in the 639-2 codes list


Sign in to add a comment
Powered by Google Project Hosting