-
-
Notifications
You must be signed in to change notification settings - Fork 123
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] Raw announce filtering. #1556
Comments
Hey! Which indexer is this for specifically? We don't have any definitions that has We previously had this implemented for testing, see #807. Quoting Kyle from that PR:
|
It's for AnimeWorld
Well it's actually "Torrent vorgestellt:" or the "[Vorgestellt]" tag (no announce has both tag and prefix, it's always only one)(neither get found by autobrr), but I translated it to English for the example.
So that means all announces except for new uploads get ignored?
What is meant by "actively harmful and encourages bad behaviour"? |
I see. Do you have a full example of that line?
Yes, we only look for their We could probably add support for it but we'd need to plan it out.
Maybe @KyleSanderson can clarify that. |
There are 2 types of featured torrents. Ones that get featured at upload and ones that get featured at a later point (typically a few minutes).
Ah, that makes sense.
I would suggest adding a switch to include featured torrents. |
My pleasure. This is a huge anti-feature. Yes, it can be used in limited stop-gap situations to get people around bugs in autobrr, but exposing everything about the announce means that our definitions are not good enough for usage with the rest of the filtering. The one exception to this is RSS (and potentially Torznab) where we don't know the strings beforehand, and require user-intervention for the feeds to extract the parts out that are desired. |
But why can't there be both raw announce filtering and definition based filtering? |
Wouldn't you like something that's well maintained by your application, than something fiddly that 90 people have to update manually when they change how this is laid out. There's now thousands of users, support requests because this has been carefully considered are very minimal all things considered now. This situation is well supported today, it's simply appending the preamble as you've suggested to tags. If autobrr can't handle that, it's a bug. |
Ah, okay, I just thought that you could add it as an optional and experimental feature.
To my understanding, "Torrent vorgestellt:" at the beginning of the line isn't a tag. |
so translate it to "featured" and throw it in the tags, the yaml should handle that today. It's an application, anything can be done. Wildcarding for |
I wouldn't translate it, since the tracker is meant to be in German. It would only confuse users if they had to enter
So that means you could implement searching for both "Torrent vorgestellt:" and "[Vorgestellt]" and match the filter if either one is in the announce?
Yeah, I understand how that could happen. |
This is wrong. The autobrr/internal/indexer/definitions/animeworld.yaml Lines 72 to 83 in 1530e95
Does that solve the issue? |
Oh, I didn't notice that. However, this still can't filter for lines starting with "Torrent vorgestellt:" is there any way to do that? |
No. That being said, autobrr was never meant to download older releases. |
So that means there is no way for me to autosnatch these releases?
Not possible since not only staff uploads get featured, but only staff can feature torrents at upload. |
I currently don't see a possibility for it, no. |
Okay. Well then I suppose you can close the issue |
You could setup a custom definition and copy paste the existing indexer, set a new That way you could use it and filter for it explicitly, or make the regex understand both so you only need a single one and in that case you keep the same There is a usecase for this (featured torrents, reseed requests, requests etc) but we would need to change quite a few bits to get that working. I'm not opposed to it but it's not something we'll rush into implementing at this time 😄 |
I will try that.
Understandable. Well thank you very much for your time and help. |
It worked. |
Is your feature request related to a problem? Please describe.
Autobrr's filtering options can't filter for a specific part of the announce that aren't tags.
So, for example, if a torrent announce starts with "Torrent featured:" autobrr can't filter this announce just by that.
Describe the solution you'd like
I would like to be able to filter the raw announce. No tags, no categories, nothing like that. Just the announce line.
For example, if a torrent announce happens with "Torrent featured:" at the beginning, I would like to be able to find it by entering
*featured*
as the filtering option. It would search the whole announce line and look if the string "featured" is in it.Describe alternatives you've considered
I tried filtering by Tags and Raw Release Tags, but both couldn't find the "Torrent featured:" at the beginning.
The text was updated successfully, but these errors were encountered: