This commit is contained in:
bobokun 2023-04-22 15:40:49 -04:00
parent 603fb76328
commit c64ec410da
No known key found for this signature in database
GPG key ID: B73932169607D927
2 changed files with 4 additions and 5 deletions

View file

@ -1,8 +1,7 @@
# Requirements Updated
- Updates qbitorrent api to 2023.4.47
# Bug Fixes
- Fixes bug in not removing empty directories (Thanks to @buthed010203 #266)
- Speed up remove_orphan by using multiprocessing (Thanks to @buthed010203 #266)
- Fixes bug in cross_seed (Fixes #270)
**Full Changelog**: https://github.com/StuffAnThings/qbit_manage/compare/v3.6.0...v3.6.1
**Full Changelog**: https://github.com/StuffAnThings/qbit_manage/compare/v3.6.1...v3.6.2

View file

@ -39,7 +39,7 @@ class CrossSeed:
dest = os.path.join(self.qbt.torrentinfo[t_name]["save_path"], "")
src = os.path.join(dir_cs, file)
dir_cs_out = os.path.join(dir_cs, "qbit_manage_added", file)
category = self.qbt.global_max_ratioget_category(dest)
category = self.qbt.get_category(dest)
# Only add cross-seed torrent if original torrent is complete
if self.qbt.torrentinfo[t_name]["is_complete"]:
categories.append(category)