mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-10-26 14:06:20 +08:00
Fixes #270
This commit is contained in:
parent
603fb76328
commit
c64ec410da
2 changed files with 4 additions and 5 deletions
|
|
@ -1,8 +1,7 @@
|
||||||
# Requirements Updated
|
# Requirements Updated
|
||||||
- Updates qbitorrent api to 2023.4.47
|
|
||||||
|
|
||||||
# Bug Fixes
|
# Bug Fixes
|
||||||
- Fixes bug in not removing empty directories (Thanks to @buthed010203 #266)
|
- Fixes bug in cross_seed (Fixes #270)
|
||||||
- Speed up remove_orphan by using multiprocessing (Thanks to @buthed010203 #266)
|
|
||||||
|
|
||||||
**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
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ class CrossSeed:
|
||||||
dest = os.path.join(self.qbt.torrentinfo[t_name]["save_path"], "")
|
dest = os.path.join(self.qbt.torrentinfo[t_name]["save_path"], "")
|
||||||
src = os.path.join(dir_cs, file)
|
src = os.path.join(dir_cs, file)
|
||||||
dir_cs_out = os.path.join(dir_cs, "qbit_manage_added", 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
|
# Only add cross-seed torrent if original torrent is complete
|
||||||
if self.qbt.torrentinfo[t_name]["is_complete"]:
|
if self.qbt.torrentinfo[t_name]["is_complete"]:
|
||||||
categories.append(category)
|
categories.append(category)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue