Code: Select all
{n} {s00e00} {t} {if (ext =~ /srt/) '.eng'}
should change to "V Wars S01E02 Blood Brothers.eng.srt"
For some reason that filename adds a trailing space before ".eng" and changes to
"V Wars S01E02 Blood Brothers .eng.srt"
AND "V Wars S01E04 Bad as Me.srt"
changes to "V Wars S01E04 Bad as Me .eng.srt"
However "V Wars S01E05 Cold Cold Ground.srt" doesn't do that and correctly changes to
"V Wars S01E05 Cold Cold Ground.eng.srt"
I can't identify why certain filenames do that but it happens with some frequency. Is there a code snippet I can add to remove trailing space? I thought that was built into FileBot? I can provide other filenames that do that if it helps.
I have also noticed that sometimes it does this if there is no episode title in the TVDB search which is perhaps explainable and I can work around that. Any help is appreciated!!