Original Language tag

All about user-defined episode / movie / file name format expressions
Post Reply
AbedlaPaille
Posts: 107
Joined: 12 Apr 2020, 04:02

Original Language tag

Post 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.
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Original Language tag

Post 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}
:idea: Please read the FAQ and How to Request Help.
Post Reply