Rethink current "incomplete folder" implementation #17428
Replies: 11 comments
-
My general point is that torrent should never return to "incomplete" folder after it has once been moved to "complete" one (the current implementation allows this). So there are only two options left (i.e. under what conditions to move the torrent to the "complete" folder):
Possible 3rd option is allow to specify desired behavior per torrent. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
@FranciscoPombal |
Beta Was this translation helpful? Give feedback.
-
I though about it some more. From a UX perspective, a user adds "jobs" for qBittorrent to complete. A user cares about each "job" completing. Each job may or may not involve downloading all files in the torrent. So it is clear that So, what this setting should provide the user is: For example: suppose a torrent So the possible state transitions are:
where qBittorrent makes the following assumptions:
Is this a good idea? Are these states and transitions compatible with the rest of the states and associated logic (e.g. missing files, file size mismatch, errored state...). Now: what should happen if a user gets files
Additionally, some precautions must be taken depending on whether the user enables or disables root folder creation, but that's almost a separate matter.
Under this new system, if the user does this after the torrent has gone into "finished" or "partially finished" state, and then resumes the torrent, I would only expect qBittorrent to go look back in the "incomplete" folder if it can't find anything at all from said torrent under the Maybe later I'll try to formalize these ideas a bit better, perhaps with a flow chart or some pseud code block.
What do you suggest? |
Beta Was this translation helpful? Give feedback.
-
@FranciscoPombal
* Any "path" mentioned above can be set either directly or using some default value (e.g. "default save path"). So here we need only decide what torrent should be moved to "complete" folder: completely downloaded or partially (or allow user to set it). |
Beta Was this translation helpful? Give feedback.
-
I see, I think I was missing the point.
We could just add a another option: "Keep partially downloaded torrents in:".
Not so sure what you mean by this. Can you rephrase it? Anyway, the problem then becomes: What should happen when a user deselects files? If we have agreed that torrents can't "move backwards", then it is possible that the user will end up with several incomplete/partially downloaded torrents in the "completed save path". Also, suppose there is a torrent torrent |
Beta Was this translation helpful? Give feedback.
-
👎
"Set location" applies to current "save path". |
Beta Was this translation helpful? Give feedback.
-
It just depends on which torrent (fully or partially completed) we eventually decide to move.
So why not move only fully downloaded torrents? |
Beta Was this translation helpful? Give feedback.
-
"So here we need only decide what torrent should be moved to "complete" folder: completely downloaded or partially (or allow user to set it)." For ease-of-use for average users, both temporary download folder and .qt! part files are best disabled...which means users will have to manually enable both. If they are using a temp folder with move/copy on completion... |
Beta Was this translation helpful? Give feedback.
-
Good point. I'm on board with this. So we want:
This is it, right?
When using such a feature you're always going to have to pay the price of moving the files around. |
Beta Was this translation helpful? Give feedback.
-
Context:
#13013 (comment)
This has implications on how moves should be handled for completed torrents, depending on whether or not any file was unselected for download, among possibly other things.
Related:
#7164
Beta Was this translation helpful? Give feedback.
All reactions