Hello,
i use {group} in my filebot
and i wanted if the group is not found, then don't use the {group}
but for now the {group} will always return as THE
example
The.Big.Bang.Theory.S06E16.The.Tangible.Affection.Proof.720p.WEB.DL.DD5.1.H.264
How.I.Met.Your.Mother.S08E17.The.Ashtray.720p.WEB.DL.DD5.1.H.264-BS (Since BS is not yet recognized by filebot as group)
expression used : {n} {'S'+s.pad(2)} E{e.pad(2)} - {t} - {source}.{vf}.{ac}.{group}
result :
The Big Bang Theory S06 E16 - The Tangible Affection Proof - .720p.AC3.THE
How I Met Your Mother S08 E17 - The Ashtray - .720p.AC3.THE
so how to make filebot ignore the group is none are found?
i tried to use {try{group}catch(e){''}}
but it still return as THE
Thanks and sorry for my bad english
Remove Group if none is found
Re: Remove Group if none is found
THE is actually a release group, it's using that for the lack of a better hit.
I guess I should ignore that RG. Thought I already did that before but maybe it creeped in again.
I guess I should ignore that RG. Thought I already did that before but maybe it creeped in again.
Re: Remove Group if none is found
Ah i see its because there a RG name THE and there is THE in the filename it uses that as a group
perhaps the better solution is to check {group} only at the last part of the filename
if none found then empty it
is there a way to do this?
or should i just use {group.replace('The','')}
Edit: okay i use {n} {'S'+s.pad(2)} E{e.pad(2)} - {t} - {source}.{vf}.{ac}.{group.replace('The','')}
so it will return empty if THE is found
but now the problem i have an extra . dot after the {ac} if the group is none
tried to do {'.'+group.replace('THE','')} it still give . when the group is none
help
thanks again
perhaps the better solution is to check {group} only at the last part of the filename
if none found then empty it
is there a way to do this?
or should i just use {group.replace('The','')}
Edit: okay i use {n} {'S'+s.pad(2)} E{e.pad(2)} - {t} - {source}.{vf}.{ac}.{group.replace('The','')}
so it will return empty if THE is found
but now the problem i have an extra . dot after the {ac} if the group is none
tried to do {'.'+group.replace('THE','')} it still give . when the group is none
help


thanks again
rednoah wrote:THE is actually a release group, it's using that for the lack of a better hit.
I guess I should ignore that RG. Thought I already did that before but maybe it creeped in again.
Re: Remove Group if none is found
There's many people that add the release group in the beginning of the file.
Anyway, I updated the list, try again tomorrow and it'll work.
Anyway, I updated the list, try again tomorrow and it'll work.