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

Fix received metadata handling #13905

Merged
merged 1 commit into from
Dec 7, 2020
Merged

Conversation

glassez
Copy link
Member

@glassez glassez commented Dec 4, 2020

This is a reincarnation of the last attempt to fix/improve received metadata handling (#13736).
Now torrent is reloaded internally once metadata is received to correctly apply all needed logic of preprocessing torrent content and finding probably existing files left from previous incomplete download.
Right now, detecting existing files should work the same regardless of how the torrent is added (using .torrent file or Magnet link).

Also, the implemented mechanisms should serve as a basis for future improvements in other aspects (for example, resuming "Missing files" torrent downloads without rechecking).

@glassez glassez added the Core label Dec 4, 2020
@glassez glassez added this to the 4.3.2 milestone Dec 4, 2020
@glassez glassez requested review from sledgehammer999, a team and Chocobo1 and removed request for sledgehammer999 December 4, 2020 04:00
@thalieht
Copy link
Contributor

thalieht commented Dec 4, 2020

No problems detected with any combination of "Keep top-level folder", .!qB, temp folder.

@glassez glassez merged commit 5c1c561 into qbittorrent:master Dec 7, 2020
@glassez glassez deleted the handle-metadata branch December 7, 2020 05:39
IceCodeNew pushed a commit to IceCodeNew/qBittorrent-Enhanced-Edition that referenced this pull request Dec 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants