The source media (e.g. BluRay, WEB-DL, etc) can only be detected based on the file name.
{vs} ... the standardized source media value regardless of which exact pattern was a match (e.g. any match for BluRay / BDRip / BD50 / etc yields BluRay)
{source} ... the exact pattern match based on the file name (e.g. match for BD50 yields BD50)
fn: aaaaa.s01e01.hdtv.mkv => nice name - S01E01 - hdtv.mkv
fn: aaaaa.s01e01.HDTV.mkv => nice name - S01E01 - HDTV.mkv
As a corollary, how could I get the same behaviour as before (capital HDTV on non-capital match) or alternatively how could I choose {vs} over {source} only for specific values?
I only work in black and sometimes very, very dark grey. (Batman)
kim wrote: ↑15 Jun 2020, 01:11
it's not format code
Thanks, I think i need to work out what is doing what in there..... i.e. the basics of what (?<=\d{3,4}[p].) does etc....
I guess what I was looking for was a spaced out output and keeping it sort of simple, i.e. only naming a webrip, webdl and if not labelled then I know it is blu ray...
You can always create your own map and your own code and conditions. A couple of lines of Groovy code at most, so it's more straight-forward to just write your own code.
Things can be added to the map though, if you find something missing.
Any examples for these lines of code?
My customisation is related to web sources, which you currently bundle in WEB-DL, I have some lines to match them separately.
Another small issue is that {source} seems to respect original case now dvdrip will result in dvdrip instead of DVDRip as before, not sure if it's because of my code.
I only work in black and sometimes very, very dark grey. (Batman)
Also is there a way for {source} to pick up when spaces separate the words in the filename? As it is now it works if the filename contains something like
Anne.with.an.E.2017.S03E01.A.Secret.Which.I.Desired.to.Divine.1080p.iT.WEB-DL.DD5.1.H.264-NYH (all of season 3 uses this)
Letterkenny.2016.S10E01.King.of.Suckers.1080p.CRAV.WEB-DL.DD5.1.H.264-NTb (all of season 10 uses this)