Hello.
I’m trying to have Flexget remember once rejected entries and to not accept then again in subsequent tasks (and in future runs).
The feed for the first task (partial-feed
) has a subset of the entries of the second task (full-feed
). So some of the entries appear again in full-feed
. For testing purpose, please have a look at the following config: (All executed with --test
using version 3.1.67)
tasks:
partial-feed:
rss:
url: https://nyaa.si/?page=rss&u=HorribleSubs
all_entries: no
quality: '1080p+'
regexp:
accept:
- HorribleSubs
full-feed:
rss:
url: https://nyaa.si/?page=rss&c=1_2&f=1
all_entries: no
regexp:
accept:
- HorribleSubs
The (abridged) result looks like this:
...
2000-00-00 00:00:00 VERBOSE task partial-feed REJECTED: `[HorribleSubs] Titel [720p].mkv` by quality plugin because 720p does not match quality requirement [<Requirements(1080p+)>]
2000-00-00 00:00:00 VERBOSE task partial-feed ACCEPTED: `[HorribleSubs] Titel [1080p].mkv` by regexp plugin because regexp 'HorribleSubs' matched field 'title'
...
2000-00-00 00:00:00 VERBOSE task full-feed ACCEPTED: `[HorribleSubs] Titel [720p].mkv` by regexp plugin because regexp 'HorribleSubs' matched field 'title'
...
I would have expected that full-feed
would reject the 720p-version again, at least that is how I understood remember_rejected should behave.
I can force my expected behavior with:
tasks:
partial-feed:
rss:
url: https://nyaa.si/?page=rss&u=HorribleSubs
all_entries: no
quality: '1080p+'
regexp:
accept:
- HorribleSubs
# --- diff start
digest:
list: digest_rejected
state:
- rejected
mark-as-seen:
from_digest:
list: digest_rejected
accept_all: yes
# --- diff end
full-feed:
rss:
url: https://nyaa.si/?page=rss&c=1_2&f=1
all_entries: no
regexp:
accept:
- HorribleSubs
And the (abridged) result looks like this:
...
2000-00-00 00:00:00 VERBOSE task partial-feed REJECTED: `[HorribleSubs] Titel [720p].mkv` by quality plugin because 720p does not match quality requirement [<Requirements(1080p+)>]
2000-00-00 00:00:00 VERBOSE task partial-feed ACCEPTED: `[HorribleSubs] Titel [1080p].mkv` by regexp plugin because regexp 'HorribleSubs' matched field 'title'
...
2000-00-00 00:00:00 VERBOSE task mark-as-seen ACCEPTED: `[HorribleSubs] Titel [720p].mkv` by accept_all plugin
...
2000-00-00 00:00:00 VERBOSE task full-feed REJECTED: `[HorribleSubs] Titel [1080p].mkv` by seen plugin because entry with title `[HorribleSubs] Titel [1080p].mkv` is already marked seen in the task partial-feed at 2000-00-00 00:00:00
2000-00-00 00:00:00 VERBOSE task full-feed REJECTED: `[HorribleSubs] Titel [720p].mkv` by seen plugin because entry with title `[HorribleSubs] Titel [720p].mkv` is already marked seen in the task mark-as-seen at 2000-00-00 00:00
...
In the above the task mark-as-seen
“accepts” all rejected entries of partial-feed
and that way they get marked as seen and not accepted again. I also tried to crate an entry_list
containing the rejected items, but all I could archive where more lines with no better effect then what you can find in the second config. (My YAML/Jinja2 skill are just are not high enough yet…)
It works, but it doesn’t look right to me. Is there no better / more elegant way to solve this?
Is this the expected behavior of quality
? Do I miss some plugin/setting that I have to use?
Thank you for your feedback.
Side note: I tried the series
plugin, but it has a hard time with this type of entries, where the names are not very “conform”. So I mostly switched to the trusted regexp
, which works for me. And yes I know there is the nyaa plugin, but for my purposes it is to limited (and I solve it by using pre-filted feeds).
4 posts - 2 participants