From 7c5a9a247fe5e6546564ff426facf38ec23b5e77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=AF=E5=A4=A7=E4=BE=A0?= Date: Thu, 4 Apr 2024 21:34:09 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9D=92=E8=9B=99=E8=BE=85=E7=A7=8D:=20?= =?UTF-8?q?=E5=8F=96=E6=B6=88=E7=A7=8D=E5=AD=90=E5=AF=BC=E5=87=BA=EF=BC=8C?= =?UTF-8?q?=E9=81=BF=E5=85=8D=E4=B8=8D=E5=85=BC=E5=AE=B9=E4=BD=8E=E7=89=88?= =?UTF-8?q?=E6=9C=ACqb?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/crossseed/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/crossseed/__init__.py b/plugins/crossseed/__init__.py index c981619..b16e3e6 100644 --- a/plugins/crossseed/__init__.py +++ b/plugins/crossseed/__init__.py @@ -788,8 +788,9 @@ class CrossSeed(_PluginBase): torrent_path = Path(self._torrentpaths[idx]) / f"{hash_str}.torrent" torrent_info = None if not torrent_path.exists(): - if downloader == "qbittorrent": - # FIXME qb从4.4.0开始,种子文件以标题+序号的方式保存,目前只能尝试导出后再解析 + if False and downloader == "qbittorrent": + # qb开启SQLite功能后将不再以hash命名的方式保存torrent文件 + # TODO 导出功能需要qb4.5.0以上版本才支持 logger.warn(f"QB种子文件不存在:{torrent_path} 尝试远程导出种子") try: torrent_data = torrent.export()