qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
28.68k stars 4.01k forks source link

change the management of saving .torrent files #16322

Open dasaferi opened 2 years ago

dasaferi commented 2 years ago

Suggestion

I propose to change the method of saving .torrent files because it is like saving them twice with the current method. I recommend applying the same saving principle as normal files.

Editing the .torrent saves like this:

Use case

I save the .torrents of the files that I download and of the files that I cannot complete completely, so in case someone needs the files and fails to demagnetize the torrents I can pass the .torrent file of the completed download, in case I am unable to complete a download I pass the .torrent file of the incomplete download to the person who generated the .torrent of the file that I want to download completely. At this moment QBittorrent saves all the files in one folder and the completed downloads copy the files to another folder and I find myself duplicated .torrent files 😢, this could fix the problems I encounter in daily use.

Extra info/examples/attachments

illustration of what I would like as an edit changes I want

thalieht commented 2 years ago

so in case someone needs the files and fails to demagnetize the torrents I can pass the .torrent file of the completed download.

First of all, define who is this "someone" because i think you may have misunderstood something. If that "someone" is someone you know then that sentence makes sense but if you're referring to some random peer... complete nonsense.

in case I am unable to complete a download I pass the .torrent file of the incomplete download to the person who generated the .torrent of the file that I want to download completely.

You need to give the .torrent to the person that made it so you can fully download the torrent?

dasaferi commented 2 years ago

First of all, define who is this "someone" because i think you may have misunderstood something. If that "someone" is someone you know then that sentence makes sense but if you're referring to some random peer... complete nonsense.

yes, I meant someone I know, sorry it must have been a translation error, I happened to have to pass the .torrent file to friends because they could not demagnetize due to the absence of peer/seeds.

You need to give the .torrent to the person that made it so you can fully download the torrent?

yes, it has happened more than a few times that the files only have peer or leecher and I had to pass the .torrent file to request a reseed of the file.

this is an example, I downloaded the linux distro file from a peer and there are no seeds at the moment so I have to send the .torrent file to ask for a reseed of the old version of antix linux. immagine

glassez commented 2 years ago

Maybe just add menu item "Export .torrent file"?

dasaferi commented 2 years ago

Maybe just add menu item "Export .torrent file"?

no, I would say more than making the management of .torrent files the same as that of the downloaded files (incomplete files are written in a folder until they are completed and at that point move them to the completed files folder) I would apply the same principle also for the .torrent files so as not to be duplicated, also because the .torrent files do not weigh anything and I keep all the .torrent files that I download so if I had to do as a seed I have everything ready just load the downloaded .torrent from the .torrent folder completed and copy the related files on the hdd check and act as a seed, in case it fails to finish downloading I take the .torrent from the folder not completed and send it to whoever distributes the files so as to request the reseed of the torrent. At the moment the management of .torrent files does not make sense, all files completed and not completed are placed in a folder, but the .torrent files of completed downloads are copied to another folder causing duplication of .torrent files.

changes I want

above I have attached a picture of how in my opinion the management of .torrent files should work.

Brenders commented 2 years ago

@glassez I understood what @dasaferi meant, at the moment qbittorrent has two options for .torrent files:

But this results in the creation of torrent files both in the generic .torrent folder (completed and not) and in the completed .torrent folder which makes it messy, @dasaferi is asking to implement the method that is applied for file downloads ( Default save path: and Keep incomplete torrents in :) doing so should not create duplicates of .torrent files.

image The problem in my opinion is the item (Copy .torrent files from finished downloads to :) which does not move the .torrent file from the generic torrent folder to that of the completed .torrent files.

@dasaferi you did the perfect writing and you didn't understand that it was a photoshop in your screen hahahahah.

dasaferi commented 2 years ago

@dasaferi you did the perfect writing and you didn't understand that it was a photoshop in your screen hahahahah.

yes i photoshopped the settings to show how to change the voices 😂

@dasaferi I understood what @dasaferi meant

you managed to understand the problem, qbittorrent as it is now set tends to create duplicates of .torrent files, I hope glassez understood what I meant when I opened the issue.

vertigo220 commented 2 years ago

I just recently realized this as well. I assumed (we know what happens when you do that) that the .torrent files would be moved just as the torrent file(s) is/are, but per the option, they're actually copied. This doesn't make any sense and just creates duplicates. In fact, it creates three copies of the files. First, it's downloaded and ends up in the downloads folder, then qB copies it from there to the "Copy .torrent files to" location, leaving me needing to delete the ones in the downloads folder to keep that from becoming a more scattered mess than it already is. Then when the download finishes, the copy is copied again into the "Copy .torrent files for finished downloads to" folder, leaving both folders full of a mess of these files.

Ideally, it should simply be reworded to "Move .torrent files..." and the behavior should be changed to match. So it gets moved from the downloads folder to the incomplete one, preventing me from having to delete it from there, then moved from the incomplete folder to the complete one once it's done. There should also be an option to delete the .torrent file once complete.

glassez commented 2 years ago

There should also be an option to delete the .torrent file once complete.

This is the most incomprehensible of all this. IIRC, "Copy .torrent file" option serves precisely to ensure that you save the file in some specific place, regardless of its source, even after you have deleted the torrent from the application. Why do you even need to keep this separate copy if you knowingly delete it along with deleting the torrent from the application?

dasaferi commented 2 years ago

any news?