Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQ] Refilter already processed feed items when download slots are available #1286

Open
ftruzzi opened this issue Nov 27, 2023 · 3 comments
Labels
Feature request New features, improvements etc releases

Comments

@ftruzzi
Copy link

ftruzzi commented Nov 27, 2023

Is your feature request related to a problem? Please describe.

Hi, and thank you for your work!

I'm trying to figure out how to use autobrr for the following use case: I have a long RSS feed of freeleech torrents I want to snatch, but I can only download N torrents per day on this tracker. So I set up a filter with "Max N torrents" per day. This works fine and autobrr only downloads N torrents the first day.

The second day, when reparsing the feed, no new torrents are downloaded and I see in the logs:

DBG found (0) new items to process feed="Last 100 freeleech" module=feed

so I assume all previously fetched items are not going through the filter because they've already been seen, but today the filter should let N more go through?

Describe the solution you'd like

Have a feature to not mark an item as "old" if it was rejected from a filter due to a "max downloads rule"

Describe alternatives you've considered

n/a

Additional context

n/a

@ftruzzi ftruzzi added the Feature request New features, improvements etc label Nov 27, 2023
@zze0s
Copy link
Collaborator

zze0s commented Nov 30, 2023

That's a pretty specific feature req 🤔

Does your feed remove the downloaded torrents? In that case you'll have to manually clear the feed-cache each day and trigger a run.

Maybe we should add an option to skip adding items to the cache. But your feed would still refresh at your given interval.

The filter checks are only triggered if the feed check finds new items.

@KyleSanderson
Copy link
Collaborator

That's a pretty specific feature req 🤔

Does your feed remove the downloaded torrents? In that case you'll have to manually clear the feed-cache each day and trigger a run.

Maybe we should add an option to skip adding items to the cache. But your feed would still refresh at your given interval.

The filter checks are only triggered if the feed check finds new items.

They're looking for *arr queueing functionality - which autobrr isn't built for today. It's a sneaky request, but there's a ton of work to support this "properly" (maintaining/showing the queue). The cheap ask is what they described, which is also doable, but you'd still need a way to ignore already approved items, which goes back to unique.

@ftruzzi
Copy link
Author

ftruzzi commented Dec 2, 2023

Thanks for your replies!

Does your feed remove the downloaded torrents? In that case you'll have to manually clear the feed-cache each day and trigger a run.

Unfortunately it doesn't remove the entries, so after clearing the cache it tries to re-download the already existing N torrents and stops after that.

Maybe we should add an option to skip adding items to the cache.

there's a ton of work to support this "properly" (maintaining/showing the queue) [...] you'd still need a way to ignore already approved items

What if there was a flag on the feed to "only cache downloaded entries"? Would it make sense / be easy enough to implement?

@zze0s zze0s added the releases label Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request New features, improvements etc releases
Projects
None yet
Development

No branches or pull requests

3 participants