Release Groups {group}

All about user-defined episode / movie format expressions
Post Reply
svaraej
Posts: 17
Joined: 05 Apr 2016, 13:37

Re: Release Groups {group}

Post by svaraej » 19 Jun 2017, 13:40

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

User avatar
rednoah
The Source
Posts: 13947
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Release Groups {group}

Post by rednoah » 19 Jun 2017, 14:28

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.
:idea: Please read the FAQ and How to Request Help.

svaraej
Posts: 17
Joined: 05 Apr 2016, 13:37

Re: Release Groups {group}

Post by svaraej » 19 Jun 2017, 18:15

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! :)

kim
Power User
Posts: 545
Joined: 15 May 2014, 16:17

Re: Release Groups {group}

Post by kim » 19 Jun 2017, 18:31

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}

Elamania
Posts: 15
Joined: 07 Sep 2015, 23:00

Re: Release Groups {group}

Post by Elamania » 20 Jun 2017, 17:45

Tanoshi
HentaiHeaven

scorpius074
Posts: 9
Joined: 03 Jul 2017, 22:57

Re: Release Groups {group}

Post by scorpius074 » 03 Jul 2017, 23:20

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

User avatar
rednoah
The Source
Posts: 13947
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Release Groups {group}

Post by rednoah » 04 Jul 2017, 02:16

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.
:idea: Please read the FAQ and How to Request Help.

scorpius074
Posts: 9
Joined: 03 Jul 2017, 22:57

Re: Release Groups {group}

Post by scorpius074 » 04 Jul 2017, 02:33

Ok cool, thanks for the tip rednoah.

Dariss
Posts: 1
Joined: 06 Jul 2017, 05:20

Re: Release Groups {group}

Post by Dariss » 06 Jul 2017, 05:21

Sn0wMaN

kim
Power User
Posts: 545
Joined: 15 May 2014, 16:17

Re: Release Groups {group}

Post by kim » 08 Jul 2017, 01:46

DigDivX
Kefissos

scorpius074
Posts: 9
Joined: 03 Jul 2017, 22:57

Re: Release Groups {group}

Post by scorpius074 » 08 Aug 2017, 09:09

CHUPAWAKE

svaraej
Posts: 17
Joined: 05 Apr 2016, 13:37

Re: Release Groups {group}

Post by svaraej » 08 Aug 2017, 12:24

QOQ

scorpius074
Posts: 9
Joined: 03 Jul 2017, 22:57

Re: Release Groups {group}

Post by scorpius074 » 31 Aug 2017, 07:38

HB

scorpius074
Posts: 9
Joined: 03 Jul 2017, 22:57

Re: Release Groups {group}

Post by scorpius074 » 22 Sep 2017, 05:17

HDRINVASION

steve9000
Posts: 54
Joined: 01 Oct 2017, 00:58

Re: Release Groups {group}

Post by steve9000 » 01 Oct 2017, 01:14

RZeroX
Vyndros
Langbard
D0ct0rLew
Joy
JoyBell
Lion
StarLord
ByteShare
FreetheFish
SPYC
GetSchwifty
EvM
VTV
HETeam

steve9000
Posts: 54
Joined: 01 Oct 2017, 00:58

Re: Release Groups {group}

Post by steve9000 » 01 Oct 2017, 01:17

Absinth

steve9000
Posts: 54
Joined: 01 Oct 2017, 00:58

Re: Release Groups {group}

Post by steve9000 » 02 Oct 2017, 22:46

TuGAZx

steve9000
Posts: 54
Joined: 01 Oct 2017, 00:58

Re: Release Groups {group}

Post by steve9000 » 02 Oct 2017, 22:56

FrOnkY

steve9000
Posts: 54
Joined: 01 Oct 2017, 00:58

Re: Release Groups {group}

Post by steve9000 » 02 Oct 2017, 23:18

highcal
xxxpav69
apekat
nelly45
VPPV
ExKinoRay
STUTTERSHIT
BLUURY
YTS-​AG
RishiBhai
RDLinks
FiLMANTA
FOXM
SDLovers
iExTV
CPG
MIRCrew
DaScubaDude
AgusiQ

steve9000
Posts: 54
Joined: 01 Oct 2017, 00:58

Re: Release Groups {group}

Post by steve9000 » 03 Oct 2017, 15:07

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.

User avatar
rednoah
The Source
Posts: 13947
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Release Groups {group}

Post by rednoah » 03 Oct 2017, 15:42

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.
:idea: Please read the FAQ and How to Request Help.

steve9000
Posts: 54
Joined: 01 Oct 2017, 00:58

Re: Release Groups {group}

Post by steve9000 » 05 Oct 2017, 23:40

This one is already there but with different capitalization. Seen it a few different ways.

RmTeam
rmteam

User avatar
rednoah
The Source
Posts: 13947
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Release Groups {group}

Post by rednoah » 06 Oct 2017, 07:23

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?
:idea: Please read the FAQ and How to Request Help.

steve9000
Posts: 54
Joined: 01 Oct 2017, 00:58

Re: Release Groups {group}

Post by steve9000 » 06 Oct 2017, 18:01

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

Munchkinn
Posts: 1
Joined: 08 Oct 2017, 05:43

Re: Release Groups {group}

Post by Munchkinn » 08 Oct 2017, 05:50

This group is missing
Tsundere

Also group cbm should be
CBM
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest