Format {audioLanguages} to (DE, EN)

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

Format {audioLanguages} to (DE, EN)

Post by rednoah »


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