Page 10 of 28

Re: Release Groups {group}

Posted: 19 Jun 2017, 13:40
by svaraej
The group "MiNDTHEGAP" often replaces their name with "mtg" in the filename while the folder containing the file still uses the "MiNDTHEGAP".

The group identification works like a charm as long as the source file is located in that folder. But as you would expect, it won't work if the file has moved or the folder has been renamed prior to identification.

My question is therefore: Is it possible to add a mapping/alias of some sort for release groups in the same way that it's done for some series? Or should I just edit my format expressions so it works for me, but not everyone else? :)

Best regards,
svaraej

Re: Release Groups {group}

Posted: 19 Jun 2017, 14:28
by rednoah
1.
You can do that yourself in the format. ;)

e.g.

Code: Select all

f =~ /MiNDTHEGAP|mtg/ ? 'MiNDTHEGAP' : group

2.
If you have more than one group/pattern then you can start making external text files for that so that the code becomes simpler.

e.g.

Code: Select all

csv('pattern-group-map.csv').findResult{ k, v -> f =~ k ? v : null } ?: group
@see viewtopic.php?f=5&t=182


3.
I don't plan on adding anything like that to the code base though. Few people use the {group} binding and only a small fraction of those have this particular requirement. It's just too specific.

I'd really appreciate it if you could write a csv mapping file based format expression snippet, and make a new thread with some documentation on how it works, so that others can easily add this feature themselves via the format if they need it.

Re: Release Groups {group}

Posted: 19 Jun 2017, 18:15
by svaraej
Thank you for the quick reply!

1. That much I knew after doing a bit of reading on the forum. But I figured that I might as well ask, in case I missed something. ^^

2. I don't have any more clear group issues, but I have a few patterns that probably could be solved in a similar way with a csv file.

3. Ok! I've actually been thinking about learning/experimenting with csv files and Filebot. Now seems like the perfect time to do so! I'll see what I can do! :)

Re: Release Groups {group}

Posted: 19 Jun 2017, 18:31
by kim
You can try my "group" resolver

if in the builtin "group", group-jshdfjhvsdf.ext or sdkjhdvfsdsf-group.ext it will get it ;)
plus some more... "filters"

Code: Select all

{
def dn = call{(file.parentFile.name).match(/(?:\-\w+(?=\[\w+\])|\-\w+$)/)};
def nn = call{fn.match(/(?:(?=(?:19|20)+[0-9]+)\w.+$)/)};
def g = call{(file.parentFile.name+'.'+fn).find(/\-/) ? call{group.replaceAll(/\bDK\b|\bFS\b/,'')} : null};
def gg = '-'+g;
def gb = call{fn.match(/(?:^\w{3,}(?=[-]))/)};
def fm = call{fn.match(/(?:(?:\-(?!\bDL\b|\bRip\b|\bES\b|\bHD\b)\w+$)|(?:\-(?!\bDL\b|\bRip\b|\bES\b|\bHD\b)\w+[\.\_]\w+[\-]\w+$)|(?:\-\w+(?=\.cd[0-9]|\-trailer|\.part[0-9]|\.dan|\.eng))|(?:\-(?!\bDL\b|\bRip\b|\bES\b|\bHD\b)\w+[\-\.\_](?!\b720p\b|\b1080p\b)\w+$)|(?:\-\w+[\.]+\w+(?=\.cd[0-9]))|(?:\-(?!\bDL\b|\bRip\b|\bES\b|\bHD\b)\w+(?=\[\w+\]$)))/)};
if(g!=null && dn!=null && gg.equalsIgnoreCase(dn)) return '-'+g;
if(g!=null && dn!=null) return dn;
if(nn==null && dn!=null) return dn;
if(g!=null && (fm!=null||gb!=null) && (gg.equalsIgnoreCase(fm) || g.equalsIgnoreCase(gb))) return '-'+g;
if(g!=null && g!= '' && (fm!=null && gb!=null)) return '-'+g;
if(g==null && fm!=null && nn!=null) return ''+fm;
if(gb!=null && fm!=null && nn!=null) return '-'+gb;
if(gb!=null && g==null && fm==null && g==null && dn==null && nn==null) return '-'+gb;
if(g!=null && fm!=null && g!=fm) return fm;
if(g==null && fm==null && gb!=null && dn==null && nn==null) return '-'+gb;
if(g==null && fm!=null && gb!=null && dn==null && nn==null) return '-'+gb;
if(fm!=null) return fm}

Re: Release Groups {group}

Posted: 20 Jun 2017, 17:45
by Elamania
Tanoshi
HentaiHeaven

Re: Release Groups {group}

Posted: 03 Jul 2017, 23:20
by whiterose4u
Sorry if any of these groups were already mentioned...

R KNOR
NOreVENUE
Chamele0n
Tekno3d
PriMaLHD
ROTTER
AJP69
MaG
Zeus
iSrael
UHDCL
TERMiNAL
PLAYREADY
ULTRAHDCLUB
KASHMiR
THRONE
HDIL
DiN
P2u

Re: Release Groups {group}

Posted: 04 Jul 2017, 02:16
by rednoah
Added. Except for "Radarr" which presumably isn't a real release group. You can always default to that value if {group} is undefined in your format.

Re: Release Groups {group}

Posted: 04 Jul 2017, 02:33
by whiterose4u
Ok cool, thanks for the tip rednoah.

Re: Release Groups {group}

Posted: 06 Jul 2017, 05:21
by Dariss
Sn0wMaN

Re: Release Groups {group}

Posted: 08 Jul 2017, 01:46
by kim
DigDivX
Kefissos

Re: Release Groups {group}

Posted: 08 Aug 2017, 09:09
by whiterose4u
CHUPAWAKE

Re: Release Groups {group}

Posted: 08 Aug 2017, 12:24
by svaraej
QOQ

Re: Release Groups {group}

Posted: 31 Aug 2017, 07:38
by whiterose4u
HB

Re: Release Groups {group}

Posted: 22 Sep 2017, 05:17
by whiterose4u
HDRINVASION

Re: Release Groups {group}

Posted: 01 Oct 2017, 01:14
by steve9000
RZeroX
Vyndros
Langbard
D0ct0rLew
Joy
JoyBell
Lion
StarLord
ByteShare
FreetheFish
SPYC
GetSchwifty
EvM
VTV
HETeam

Re: Release Groups {group}

Posted: 01 Oct 2017, 01:17
by steve9000
Absinth

Re: Release Groups {group}

Posted: 02 Oct 2017, 22:46
by steve9000
TuGAZx

Re: Release Groups {group}

Posted: 02 Oct 2017, 22:56
by steve9000
FrOnkY

Re: Release Groups {group}

Posted: 02 Oct 2017, 23:18
by steve9000
highcal
xxxpav69
apekat
nelly45
VPPV
ExKinoRay
STUTTERSHIT
BLUURY
YTS-​AG
RishiBhai
RDLinks
FiLMANTA
FOXM
SDLovers
iExTV
CPG
MIRCrew
DaScubaDude
AgusiQ

Re: Release Groups {group}

Posted: 03 Oct 2017, 15:07
by steve9000
Is there a way to get the cached release groups to update? Still seeing lots of the recent groups not being picked up by FileBot.

Re: Release Groups {group}

Posted: 03 Oct 2017, 15:42
by rednoah
Unfortunately, no. It'll take about a week or two for change to dribble down to your machine. You can do a -clear-cache but that will only clear your local cache, not the CloudFlare edge cache from where data files are served.

Re: Release Groups {group}

Posted: 05 Oct 2017, 23:40
by steve9000
This one is already there but with different capitalization. Seen it a few different ways.

RmTeam
rmteam

Re: Release Groups {group}

Posted: 06 Oct 2017, 07:23
by rednoah
Capitalization does not matter much. FileBot will normalize any case-insensitive match to what's on the list. What is the official capitalization for that release group?

Re: Release Groups {group}

Posted: 06 Oct 2017, 18:01
by steve9000
From what I can see, RMTeam looks like the correct one. But in most cases it is saved as "rmteam", but it seems like those filenames are just stored in all lowercase.

Here is another group:

SWTYBLZ

Re: Release Groups {group}

Posted: 08 Oct 2017, 05:50
by Munchkinn
This group is missing
Tsundere

Also group cbm should be
CBM