Release Group: Subtitles renamed as 'null'
Posted: 27 Mar 2017, 22:04
Hi!
I'm current using the following seriesFormat to rename my TV Shows:
The issue I'm having is with the release group. If it doesn't match {group}, it will use reg-ex which almost always works fine. However, when download subtitles, Filebot will replace the regex release group with "null".
Any ideas on how I could fix this?
Example:
File renamed:
Subtitle renamed:
I'm current using the following seriesFormat to rename my TV Shows:
Code: Select all
seriesFormat=/home/media/tv/{n}/{'Season '+s.pad(2)}/{n} - {S00E00} - {t} [{fn.matchAll(/repack|proper|extended/).join('.').upper()+'.'}{try{source}catch(e){'WEB'}}.{vf}{'.'+vc.replaceAll(/AVC/, 'x264')}{'-'+any{$group}{fn.match(/(?:(?<=[-])\w+$)|(?:^\w+(?=[-]))/)}}]
Any ideas on how I could fix this?
Example:
File renamed:
Code: Select all
TV Show Name - S01E01 - We Just Decided To [BRRip.720p.x264-PSYPHER].mp4
Code: Select all
TC Show Name - S01E01 - We Just Decided To [BRRip.720p.x264-null].srt