Format {audioLanguages} to (DE, EN)

All about user-defined episode / movie / file name format expressions
Post Reply
User avatar
rednoah
The Source
Posts: 22967
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Format {audioLanguages} to (DE, EN)

Post by rednoah »

e.g.

Format: Select all

{ audioLanguages.ISO2.joining(', ', ' (', ')').upper() }
Language.ISO2 ... get the 2-letter country code for each Language object
List.joining() ... format List object to String object
String.upper() ... convert all lowercase characters to uppercase characters
:idea: Please read the FAQ and How to Request Help.
Post Reply