-
Notifications
You must be signed in to change notification settings - Fork 32
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 request: Blocklist torrents stuck without any peers having 100% #142
Comments
I'd have to think about it. I see a risk that for rare downloads we may delete downloads that depend on a given user coming online. Can you paste a screenshot where in qBit you see the peers that have 100% (or 99.8% for that matter). pls also post the respective response for the API |
In screenshot is jus a example of few series, but after downloading over 5TB, I can confirm it's majority of torrents like that. |
Open the network tab in your browser and refresh the page. Youll see all requests and then pls paste the response of the relevant one |
Another example |
That‘s from the /info response? |
Request URL looks like that: http://10.60.60.138:8080/api/v2/sync/maindata?rid=8601&lztkkpg5 |
Stupid Question: they are all ‚Stalled‘. Why does the stall check of decluttarr not pick them up? |
one of interesting log entry: |
Check the FAQ |
ok, that would fix that issue. |
Is there any that is not also stalled? If so, can you pls provide screenshots/api responses for those specific ones? |
Ok one more example of torrent with is NOT yet stalled, but as peer has only 96.3% it will get stalled soon. http://10.60.60.138:8080/api/v2/sync/maindata?rid=44392&lztkli7v http://10.60.60.138:8080/api/v2/sync/torrentPeers?rid=294&hash=4a9be90cde0d555d81f7c95d144008d324a391dc&lztkli9y |
If it gets stalled it will be caught. So don‘t see the need for an additional check? |
If it's known it will be stalled from beginning, wouldn't it be better to blacklist torrent not to waste bandwidth and time? |
Another possible approach would be to set missing files to "not download", as I noticed that while downloading some seasons only some files are missing causing whole torrent to stall. Example .py:
|
I like the idea. Would you be willing to help testing if I added it to the dev-version? |
Yeah, with pleasure. |
On a second thought.. how would this work? we cant blocklist because that would also stop the feasible files… thoughts? |
Very good point, |
Thought of that as well but once imported by sonarr, the item disappears from the queue. only things on the queue can be blocklisted snd thus the graylist would point to nowhere… |
Yes, and it can be blacklisted when sonar decided to add broken torrent to queue for second time. |
At least in my logic I see it this way: array could be holding name+size hashed |
So I had a go and tried to code it up in Sonarr directly. Based on the draft PR, here's some additional thoughts:
|
Here's a thought:
if you think it makes sense, could you please test the following:
|
Thanks
|
|
Just pushed it to dev image. You need to turn on CANCEL_UNAVAILABLE_FILES. |
first finding: |
Whats the Api response on /torrents/files for one seeding torrent? |
Does sonarr somehow tell you that it‘s broken? (of course I understand it's broken, but I want to know if that is somewhere visible in sonarr) |
and what happens to the overall torrent availability after the files not available are set to not download? |
Can you please also try if anything changes to the Sonarr behavior if you turn on the setting in qbit to " Keep unselected files in ".unwanted" folder". In theory, if the .unwanted is active, this PR made sure they are ignored for download: Sonarr/Sonarr#2072 |
Ping? |
Hey, sorry on holidays now. Will do test's ASAP when back. |
Looking forward to your inputs on above points btw, I have carved this feature out into a dev-container on it's own: remove-downloads-without-peers I also renamed the feature setting to REMOVE_UNAVAILABLE_FILES. |
When do you think you can get back on this? Would like close it out |
Will close this on the weekend if we dont move on |
Would have been great finishing this up, but it seems you moved on. 😔 |
I have it installed, but it's not detecting any of my files with availability<1, presumably because of the Whisparr bug... The log confirms the REMOVE_UNAVAILABLE_FILES flag is being applied.
|
Can you pls send debug logs? / any way you can test on radarr or sonarr? |
If to be completed, consider
@AlexTryHarder - any chance we work on this together? Feels we are very close to finishing this |
Hey @ManiMatter, Please let me know what need to be tested, and I give it a shot. |
Would it be possible for decluttarr to check if at least one of peers have 100% of files?
And if no, blacklist it.
70% of files are getting stack at 99.8% with drives me crazy.
Thanks!
The text was updated successfully, but these errors were encountered: