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 Request: Remove downloads with "Last Seen Complete: Never" #167

Closed
codersaur opened this issue Oct 11, 2024 · 5 comments
Closed

Comments

@codersaur
Copy link

I am finding that the downloads I have to manually delete in qBittorrent are the ones that have "Last Seen Complete: Never". It would be great if this tool can identify those, ideally applying a threshold time period for last seen complete.

@ManiMatter
Copy link
Owner

Screenshot pls?

@codersaur
Copy link
Author

image

Looking into the qBittorrent API, it should be possible to identify these downloads from the /api/v2/torrents/info endpoint where the torrent has "seen_complete" = -1.

@ManiMatter
Copy link
Owner

ManiMatter commented Oct 12, 2024

Are those downloads that have availability for files < 1? (check on the info endpoint pls).

If yes, then that's the same issue I think as discussed here:
#142

I got a bit frustrated that I spent time on it and the person who had requested it just disappeared.
The story is a bit more nuanced with the availability. Just shooting down the torrents that have <100% availability, is the crude way, since it may also delete torrents where all relevant files have downloaded and just a "Readme" file, for example, is not downloading (few kb out of 5gb torrent).

What we started over there is to say: Can we exclude files that we're not interest in, and then check the availability for the rest?

If you are committed to invest time with me on this and help me with testing, logs, etc on a rapid pace, happy to reopen the other ticket.

wdyt?

@codersaur
Copy link
Author

codersaur commented Oct 12, 2024

Yes, looking at the data for my torrents, those with seen_complete=-1 also seem to have availability<1.

Tbh, I would be happy with a crude option to remove torrents with seen_complete=-1 or availability<1, so long as PERMITTED_ATTEMPTS is also applied. Perhaps a threshold could be set for the availability value?

That said, I am more than happy to help test the more-advanced solution.

@ManiMatter
Copy link
Owner

Closing this. Can you pls read the other thread and download the mentioned image/apply the qbit settings and post your answers to my questions in the other thread? Will then continue eorking on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants