Release Groups {group}

All about user-defined episode / movie / file name format expressions
Post Reply
User avatar
rednoah
The Source
Posts: 23469
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Release Groups {group}

Post by rednoah »

The {group} binding matches known release group names from the current filename. This however only works by checking filename against known release groups and matching one if possible.


The list of release-groups known to FileBot is here:
https://github.com/filebot/data/blob/master/release-groups.txt

The list of recent changes is here:
https://github.com/filebot/data/commits/master/release-groups.txt


:idea: Release groups not in this lists will not be recognized by FileBot, so if you stumble across missing release groups post them here and I'll add them to the list. Please post lists of release groups line-by-line with official upper-case/lower-case spelling (e.g. aXXo) so I can easily merge them into the online list. FileBot will update its locally cached release group data from this online list once a week meaning this list is shared with all users.


:idea: Due to the timing between new data being published on the server-side once per week, and new data being requested on client-side once per week, it may take up to 2 weeks for new data to trickle down to all clients.


If you use {group} you will want to make sure that your expression still works as intended even if {group} is undefined. This can easily be done by making the separator characters part of the {expression} code, e.g.

Format: Select all

{ '.' + group }
You can minimize false positives with logic like this:

Format: Select all

{ n.findMatch(group) ? null : group }



:idea: If your files are already uniformly well-named, then you can directly match arbitrary release group names from the filename.

e.g. match -group at the end of the filename:

Format: Select all

{ fn.match(/[-]([^-]+)$/) }
e.g. match [group] at the beginning of the filename:

Format: Select all

{ fn.match(/^\[(.*?)\]/) }
e.g. match [group] at the ending of the filename:

Format: Select all

{ fn.match(/\[([^\[\]]+)\]+/) }
e.g. all of the above:

Format: Select all

{ any{ fn.match(/^\[(.*?)\]/) }{ fn.match(/\[([^\[\]]+)\]+/) }{ fn.match(/[-]([^-]+)$/) }{ group } }



:idea: You can use the filebot -mediainfo command to preemptively find files where {group} is undefined, and then extract the group names using the patterns above, so we can add them to the list.

e.g. print {group} for each file:

Shell: Select all

filebot -mediainfo -r /input --format "{ group } => { fn }"
e.g. find files for which {group} is undefined:

Shell: Select all

filebot -mediainfo -r /input --filter "none{ group }" --format "{ f }"
e.g. find files for which {group} is undefined, then match the likely group name via common patterns from from the file name, and finally print the result in unique sort order:

Shell: Select all

filebot -mediainfo -r /input --filter 'none{ group }' --format '{ any{ fn.match(/^\[(.*?)\]/) }{ fn.match(/[-]([^-]+)$/) } }' | sort -u
:idea: Please read the FAQ and How to Request Help.
ntg
Posts: 5
Joined: 06 Mar 2012, 04:47

Re: Release Groups {group}

Post by ntg »

FYI, here are a bunch of groups that I've noticed are missing from filebot's list:

blueF
blueZilla
Chotab
DNR
ECI
EuchHD
EbP
EPiK
GFY
Haggis
HDC
HDChina
HOWL
HWD
HWE
Hype
iNGOT
KiNGS
MOTU
NFHD
NT
NTb
OSiTV
P0W4
PhoenixRG
PFa
POD
PiLAF
psig
PxHD
RANDi
REWARD
SAiNTS
shortbrehd
SURFER
t00ng0d
TB
TOPAZ

This is just a partial list off the top of my head, and some are obviously more widespread than others; but there are also more that I'm sure will show up later.

Is it possible for us to edit/create our own local group lists to override the global list? Even better is to keep the global list as it is (updating every 2 days), but to also merge it with a second list that's kept and maintained locally, by each user.
Igor
Posts: 14
Joined: 27 Jun 2012, 21:04

Re: Release Groups {group}

Post by Igor »

Here's some more for you:

SLOMO
Reaperza
Subject16
med
tpz
macro
tla
tantrum
phase
etach
sprinter
dvsky

Also I'm getting false positives on show and episode titles for groups names that are just common words, e.g. "west" and "red". Not sure what you can do about that.
User avatar
rednoah
The Source
Posts: 23469
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Release Groups {group}

Post by rednoah »

Thanks! Added them to the list. WEST and RED are release groups, just deleted them for now. {group} will match the last occurance of any release group, e.g. "1x01 - Phase Red tpz" => "tpz"
:idea: Please read the FAQ and How to Request Help.
Igor
Posts: 14
Joined: 27 Jun 2012, 21:04

Re: Release Groups {group}

Post by Igor »

Few more groups not in the list:

WAT
clue
runner
turkiso
rwd

Thanks.
Igor
Posts: 14
Joined: 27 Jun 2012, 21:04

Re: Release Groups {group}

Post by Igor »

I've just started using a modified version of your regex to match groups and it works great. Most files I have are in either "-group.avi" or "group-blahblah.avi" and this hits the target just about every time.

Here it is if anyone is interested:

Code: Select all

{fn.match(/(?:(?<=[-])\w+$)|(?:^\w+(?=[-]))/)}
part timer
Posts: 181
Joined: 09 May 2012, 23:35

Re: Release Groups {group}

Post by part timer »

Here are some more to add to the list as I'm going through my hard drives.

FEAR
HNR
[email protected]
lrc
BEEF.STEW
WWW.URI-MOVIES.TK
VALKYRiA
Darkside_RG
ShareReactor
TeamRV
DrSn
trosa
Blixten
scream
OPT!V!D
Mental_RG
catflap
SINISTER
TDR
WoRKZ
SKYLIGHT
NTF
www.pctorrent.com
sickboy88
dmd
www.p1aynetcn.com
AckTiv3
NDRT
AXE
Dowcker
Billman424
ZEN
DMD
MissRipZ
stoffinho17
Jozzep
NeRoZ
Kole
jedi
DOMiNO
LRH
www.zonatorrent.com
[email protected]
greenbud1969
stageman
ZEKTORM
PAROVOZ
Tushar
FiddleGoose
Zeus_Dias
NikonXP
sickboy88
Genesis-RG

Thank you
part timer
Posts: 181
Joined: 09 May 2012, 23:35

Re: Release Groups {group}

Post by part timer »

Here is the next batch as well. I can't take any more tonight, my eyes are going wonky.

leetay
ACF
LMG
HHI
KNIGHTY1973
Zuzuu
HIDD3N
iLLUSiON
Bluereaper
Donatello
RETRO
Thunder
RS
SEVcD
Rets
NUXX
Danny
kirklestat
SATIVA
RoCK&BlueLadyRG
iNTiMiD
VeggTeppe
Zox
JFKXVID
NEPTUNE
Atlas47
prithwi
Hammer71
Connaz-AKA-MrPirate
madeec
btarena.org
IntelliQ
HLS
BaLD
XanaX
BoBo
GREiD
marioBombo
NuMy
imacRuel1
LiMiTED
TeNNReeD
KiLT
Koffe
Smurfenlars
KEG
prevail
Hivrolta



Thanks again
part timer
Posts: 181
Joined: 09 May 2012, 23:35

Re: Release Groups {group}

Post by part timer »

Here are some more again:


CTD
BTSFilms
P4DGE
Occor
666
Subzero
TFE
CREEDANCE
PZE
KooKoo
Quali.SlaYer
ELiA
Mish
Vex
Thizz
Shadow
Mikoto
SkipTowne
SiRiUs sHaRe
Rare Share
TRiMEDIA
Kuth
CyberTyger

I love how quickly they are actually usable in the program after posting, awesome, thank you.


Also I noticed, not a huge deal for me, but "RoCK&BlueLadyRG" ends up turning into "BlueLadyRG", maybe the & is an illegal character for binding or something, I don't know, but if it's an easy fix I'm just letting you know.
part timer
Posts: 181
Joined: 09 May 2012, 23:35

Re: Release Groups {group}

Post by part timer »

desnsurrender
lilwoodenboy
Gothicmaster
JunkyCez
Repivx
iNCiTE
LGLuX
dominion
WLF
DARKTIGER
part timer
Posts: 181
Joined: 09 May 2012, 23:35

Re: Release Groups {group}

Post by part timer »

FoAC
ShareReactor
Centropy
g0tm1Lk
FBO
qnr
RFtA
PROMiSE
BMF
TWiST
aheintz
tdl
trulle
MLW
Ice
gizzmo
TSGroup
NiXX
dummy
napisyPL
iNfInItE_424
BetaDoctor
HYBRID
KSi
Towelie
CP
FiTTY
SLikt
IHQDR
LiTE

And "[email protected]" right now is showing as only "BurnFre"

Thank you as always
part timer
Posts: 181
Joined: 09 May 2012, 23:35

Re: Release Groups {group}

Post by part timer »

I'm guessing that's because "k.tk.crew" is in the blacklist file
part timer
Posts: 181
Joined: 09 May 2012, 23:35

Re: Release Groups {group}

Post by part timer »

mVs
MRC
AXIAL
Osuald
LEGEND
Distill
MF
HOSTiLE
AEN
WOLFPACK
UKVcd
rcdivx
Bassline
BeefStew (This is in already, but when spelled like this doesn't get picked up as anything)
NightHawk
fez
RedFox109e
gcd
YMG
iRB
RBT
tff
RMx
MaRVeLouS
dcn
snavE
optimax
RAWKiNS
cfh
DaDuck
FTS
nox
SEQUA
dcn
europa
uffowich
LPD
LoB
BiEN
Igor
Posts: 14
Joined: 27 Jun 2012, 21:04

Re: Release Groups {group}

Post by Igor »

Just thought I'd post an update to my group matching expression above. This one matches groups in the format filename-group.ext, group-filename.ext, [group]filename.ext, filename[group].ext.

It includes a fix for false positives from shows/movies with titles that are hyphenated, e.g. "X-Men" would lead to: filename-X.ext.
It also no longer gives false positives for multi-part files in the format cd1-filename.ext or filename-cd1.ext.

Code: Select all

{fn.replaceAll(/$n/,n.replaceAll(/[-]/,'.')).match(/(?:(?<=[-])(?!(cd|CD)[0-9]+)\w+$)|(?:^(?!(cd|CD)[0-9]+)[A-Za-z0-9]+(?=[-]))|(?:(?<=^[\[])[^\]]+(?=[\]]))|(?:(?<=[\[])[^\]]+(?=[\]]$))/)}
This works for just about all the files I've thrown at it. Some formats it won't match are group.filename.ext or filename.group.ext and filename[group][group].ext, as I can't figure out a way to match these without producing a lot of false positives.
part timer
Posts: 181
Joined: 09 May 2012, 23:35

Re: Release Groups {group}

Post by part timer »

Got some more:

YIFY
NYDIC
BHATTI
BugzBunny
Herakler
Bakura2
StyLishSaLH
MRShanku
SiMbA
ouzo
Pimp4003
Mr. KickASS
SHiTTy
Kingdom
sUN_sujaidr
Release Lounge
~PlutO~
ZeRO
BaDTaStE
Silver RG
GokU61
LKRG
maz
Royskatt
playXD
128mns
EPiC
Feel-Free
DDR
shinythings
bogus
Posts: 2
Joined: 09 Aug 2012, 09:23

Re: Release Groups {group}

Post by bogus »

Another one I see in recent series:
EVOLVE
AdamKaine
Posts: 2
Joined: 24 Aug 2012, 22:13

Re: Release Groups {group}

Post by AdamKaine »

Some Anime related release groups:

Coalgirls
Commie
CR
Doki
Exiled-Destiny
FFF
furzi
Hadena
Hatsuyuki
Hiryuu
HorribleSubs
OhShit
OZC
REVO
SFW
SMC
SS-Eclipse
SubDESU
SubDESU-H
TastyMelon
tlacatlc6
Zurako
Saitei
Hatsuyuki-Tsuki
SS
Ayako
ReDone
WhyNot
ACX
Underwater-Mahjong
a-s
Arigatou
RaX
Chihiro
bogus
Posts: 2
Joined: 09 Aug 2012, 09:23

Re: Release Groups {group}

Post by bogus »

bogus wrote:Another one I see in recent series:
EVOLVE
Hello rednoah, can you add EVOLVE please?
seriezman
Posts: 5
Joined: 03 May 2012, 20:57

Re: Release Groups {group}

Post by seriezman »

XII
FEVER
Caph
cheesemaker
Posts: 49
Joined: 03 Sep 2012, 10:52

Re: Release Groups {group}

Post by cheesemaker »

Please add:

SONS
PROPER-EPHEMERiD
cheesemaker
Posts: 49
Joined: 03 Sep 2012, 10:52

Re: Release Groups {group}

Post by cheesemaker »

QRC
GVD
HuNTER
OYHD
DerSchuft
LeetHD
iNCEPTiON
LameHD
HDW
RHD
iD
Pate
PRiViLEGED
harmy
ROTATE
OBLiGATED
eDi
x264Crew
ROOR
EHLE
AMBASSADOR
HQE
WOMBAT
VIAHD
iNFOTv
part timer
Posts: 181
Joined: 09 May 2012, 23:35

Re: Release Groups {group}

Post by part timer »

MAXiMUM
Aiden0
quietE
Junoon
Pankhabd
xTriLL
anoXmous
part timer
Posts: 181
Joined: 09 May 2012, 23:35

Re: Release Groups {group}

Post by part timer »

RiPRG
ArenaBG
PTBR
WBZ
cheesemaker
Posts: 49
Joined: 03 Sep 2012, 10:52

Re: Release Groups {group}

Post by cheesemaker »

TVS
iFPD
msd
VideoStar
SOV
AdamKaine
Posts: 2
Joined: 24 Aug 2012, 22:13

Re: Release Groups {group}

Post by AdamKaine »

Some more nime related release groups

UTW-Mazui
Wasurenai
Zurako
Post Reply