Unable to assign to dupescore in RSS filter?

Get help, report and discuss bugs.
Post Reply
get39678
Posts: 219
Joined: 09 Jun 2014, 10:49

Unable to assign to dupescore in RSS filter?

Post by get39678 » 21 Feb 2019, 16:57

I have probably got a typo somewhere but should the following work in an RSS filter?

I am driving myself nuts trying to assign to the dupescore using an attribute but it just doesn't seem to be doing anything. (just using attr-size as an example - I ensure it is a really low number it still doesn't work)

Code: Select all

O(dupescore:${1}): attr-size:$(.*)
Thanks

hugbug
Developer & Admin
Posts: 7435
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: Unable to assign to dupescore in RSS filter?

Post by hugbug » 21 Feb 2019, 19:55

Option "dupescore:" expects a constant number and doesn't work with patterns unfortunately.

A workaround would be something like this (although I guess you know that already):

Code: Select all

O(dupescore:1000): size:>1000MB
O(dupescore:1200): size:>1200MB
O(dupescore:1500): size:>1500MB
O(dupescore:3000): size:>3GB
O(dupescore:5000): size:>5GB
O(dupescore:8000): size:>8GB
etc.
That also allows to combine the size criteria with others, for example (later in the same filter):

Code: Select all

O(dupescore+:10000): 1080p

get39678
Posts: 219
Joined: 09 Jun 2014, 10:49

Re: Unable to assign to dupescore in RSS filter?

Post by get39678 » 22 Feb 2019, 12:51

Thanks but unfortunately I would need 100's of filter rules to do what I would want to do. I just wrongly assumed it would work like setting category and dupekey. I will post in the Feature Request area.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests