Page 1 of 1

Get audio language from a movie/series

Posted: 20 Apr 2014, 23:37
by just.RooT
Hello,

is there a way to find out the audio language?
Im looking for something like this:

Code: Select all

[...]
{lang =~ /eng/ ? '[ENG] ' : ''}
[...]
as sollution: The Vampire Diaries S05E17 - Rescue Me [ENG].mkv

But the {lang} tag is only for subtitles, isnt it?

Thanks for help.
just.RooT

Re: Get audio language from a movie/series

Posted: 21 Apr 2014, 04:11
by rednoah
Yep, {lang} is only for subtitles, but you can use {audio.*} for audio stream bindings. There's lots of examples here in the forums, and you can see all the possible values and play with in with the Format Editor. Click the (x)= button to see all bindings and values for your test case.

Re: Get audio language from a movie/series

Posted: 21 Apr 2014, 11:56
by just.RooT
Could you give me an example or a link, please?

Thanks!

Update:
It works with {audio.language}.
Thank you.