Original Language tag
-
- Posts: 107
- Joined: 12 Apr 2020, 04:02
Original Language tag
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
{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:
Alternatively, you can use top-level {languages} but that's based on {info.SpokenLanguages} raw data:
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}