StuffAnThings / qbit_manage

This tool will help manage tedious tasks in qBittorrent and automate them. Tag, categorize, remove Orphaned data, remove unregistered torrents and much much more.
MIT License
742 stars 45 forks source link

[FR]: Automatically add tag to "partial" downloaded torrents #498

Closed m6man closed 5 months ago

m6man commented 7 months ago

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

Issues with cross-seeds and broken files can be annoying to analyze and fix when caused by (related) torrents where not all files are selected for download.

Unwanted files often get created anyway because the pieces for the wanted files often overlap with unwanted files.

And when pre-allocation is enabled, those unwanted files (e.g. other TV show episodes) are just as big as the other files, making it also harder to detect why they are not working. You'd need to check all torrents that might include this file and then see if it might be unwanted.

Describe the solution you'd like

I think it would be useful if qbit_manage could automatically add a custom tag to all torrents where at least one file is set to "Do not download" / "Unwanted". As the default i suggest "partial".

Does your solution involve any of the following?

Describe alternatives you've considered

It might be possible to change the GUI of VueTorrent to have this as a column, but it might be significantly more work than scanning with qbit_manage and adding a tag.

The other alternative would be a custom script that does something similar to what qbit_manage does, but that scans specifically for partial torrents.

Who will this benefit?

Anyone that has partial torrents in combination with cross-seeding, hardlinking, *arr setup etc.

Anyone that downloads only the sample video file or the first video file of a TV show pack to check it out and has cross-seed running.

Additional Information

No response

bakerboy448 commented 7 months ago

This is a highly niche use case and have never heard of anyone partially downloading torrents and cross-seeding them. It makes no sense for anyone to do that.

QBm also does not operate on non-complete (I.e. not downloaded or seeding or stopped torrents)

Unwanted files often get created anyway because the pieces for the wanted files often overlap with unwanted files.

that's a qbit bug you need to report to qbit if it is still downloading files you didn't tell it to

m6man commented 7 months ago

This is a highly niche use case and have never heard of anyone partially downloading torrents and cross-seeding them. It makes no sense for anyone to do that.

It happens automatically with the cross-seed application. Not manual cross-seeding.

QBm also does not operate on non-complete

Complications with partial downloads (e.g. cross-seed) only start after the download has finished.

that's a qbit bug you need to report to qbit if it is still downloading files you didn't tell it to

That's not what i said. QB isn't downloading any pieces that it doesn't need. I think it's creating tangential files in order to store the necessary piece data.

bakerboy448 commented 7 months ago

It happens automatically with the cross-seed application. Not manual cross-seeding.

there is nothing automatically with cross-seeding that would deliberately select only a handful of files of the torrent to download

I think it's creating tangential files in order to store the necessary piece data.

No it's creating all files for the torrent exactly as you have told it to do.

sounds like your issue is not qbm nor anything for qbm to solve but cross-seed failing to deselect the unwanted files or cross-seed needing to ignore torrents where only some files are selected for download

walkerp1 commented 7 months ago

The extra files are created because the piece boundary doesn't perfectly fall on the start of the selected files. It's a known and expected behavior. It seems more intuitive, though, for the cross-seed application to handle this function since it's already handling the torrents and could cover a lot more bittorrent clients than just qBittorrent.

m6man commented 7 months ago

@walkerp1 That's correct. I could still really use a feature like i described because i don't know how i can figure out which torrents are partial downloads without going through them one by one (or writing a script to talk to the API). But i understand that the particular issues with cross-seed should be handled in that application.