Filename Language - YAMJ/yamj-v2 GitHub Wiki

How to derive languages from the video filename

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
⚠️ **GitHub.com Fallback** ⚠️