Page 1 of 1

Original Language tag

Posted: 04 May 2020, 13:56
by AbedlaPaille
Is it possible to display a {info.originalLanguage} tag in full instead of the two letter abreviation? eg KOREAN instead of KO. Something similar to audio.Languages[0].name but idk if themovieDB allows it.

Re: Original Language tag

Posted: 04 May 2020, 14:11
by rednoah
{audioLanguages[0].name} works because {audioLanguages} is a FileBot abstraction on top of the raw MediaInfo bindings. Unfortunately, FileBot does not have a top-level wrapper {info.OriginalLanguage}.


You can do this though:

Code: Select all

{info.OriginalLanguage.toLocale().displayLanguage}

Alternatively, you can use top-level {languages} but that's based on {info.SpokenLanguages} raw data:

Code: Select all

{languages[0].name}