Code: Select all
{n} ({y}) {" {tmdb-$id}"} - {vf} {vc} {af} {ac}{subt}
Like this example…
Code: Select all
Foul Play (1978) {tmdb-15659} - 1080p x265 6ch AAC.eng.SDH.srt
I’ve grabbed the following code from this forum post… viewtopic.php?t=4882
Code: Select all
{ textLanguages =~ /eng/ ? 'ENGSUB' : null } }
Code: Select all
{n} ({y}) {" {tmdb-$id}"} { "{edition-${tags.first()}}" } - {vf} {vc} {af} {ac}{subt} { textLanguages =~ /eng/ ? '[ENGSUB]' : null }
Code: Select all
The Out-of-Towners (1999) {tmdb-8970} - 720p AVC 6ch AC3 [ENGSUB].mkv
Is there anyway to look for both, and to have either ENGSUB or UNDSUB placed into the filename depending on which is found?
As an alternative, I’d be just as happy if any embedded subtitle could trigger adding a generic SUB to all media files, no matter what the subtitle is labeled as.
It would be extremely rare to find a media file with an English audio track that also only contained a non-English embedded subtitle file.
Long time user and first time poster to the forum.
In my opinion Filebot is the most important tool for building a Plex media collection, so thank you for the program and any help in this matter.