
the relevant part of my format:
Code: Select all
{' '+audio.language}
I want to use audo.language because I get all of the languages not just the primary in my format.13 Hours - The Secret Soldiers of Benghazi (2016) {tmdb-300671} [ [null] [2h24m] 2.40∶1 (WS) 1080p BluRay x265 D0C3C9CC ].mp4
"pseudo format"
Code: Select all
{' '+audio.language.empty().replace('[null]','' )}
Code: Select all
{' ('+ws+')'}
Code: Select all
{ plex.id.derive { ' {edition-'+tags.toString().replace('[','').replace(']','')+'}' }
{' ['}
{ if ('Documentary' in genres)' [doc]' }
{' '+audio.language}
{' ['}
{ info:video[0].durationString.space(' ').replace(' ','').replace('min','m')+'] ' }
{ info:video[0].displayAspectRatioString.colon(':').replace(':', '"∶"') }
{' ('+ws+')'}
{' '+vf}
{' '+vs}
{' '+vc}
{' '+crc32}
{' ]'}
{ dc > 1 ? '.' + di : null }
}