My source file starts as this:
The.Example/The.Example:Confused.2024.1080p.BluRay.Dual.Uncut.DTS.x264-scene_name.mkv
If the audio tracks lacked language information, it would previously result in:
Example։ Confused, The (2024) [1080p]/The Example։ Confused (2024) [1080p.BluRay.x264.6ch.DTS] {edition-Uncut}.mkv
Now the same file results in:
Example։ Confused, The (2024) [1080p]/The Example։ Confused (2024) [1080p.BluRay.x264.6ch.DTS.[null, null]] {edition-Uncut}.mkv
Code: Select all
{ n.replaceFirst(/^(?i)(the)\s(.+)/, /$2, $1/)colon('։ ') } ({y}) [{vf}]/{n.colon('։ ')}{" ($y)"} [{vf}{'.'+source}{'.'+vc}{'.'+af}{'.'+ac}{'.'+audio.language}]{ " {edition-${tags[0]}}" }{' - pt'+pi}
Example։ Confused, The (2024) [1080p]/The Example։ Confused (2024) [1080p.BluRay.x264.6ch.DTS.[en, ja]] {edition-Uncut}.mkv