Usually it's quite standard with:
Code: Select all
n.s00e00.vf.WEBSource.source.AUDIO.vc-group
For example: Nashville.S06E02.1080p.AMZN.WEBRip.DDP5.1.x264-KiNGS
What I'd like to propose is to have a snippet to allow this to be included in the final rename.
This is as far as I got but it doesn't seem well written:
Code: Select all
{
def isWeb = (source ==~ /WEB.*/)
def lfr = isWeb ? (fn =~ /(AMZN|HBO|HULU|NF|iT)\.(WEB)/) : null
ret = allOf{lfr[0][1]}{source}.join(".")
return ret
}