The only downloader you need. 下载器的集大成者。
TypeScript asyncasynciobittorentbtcross-platformdownload-managerdownloaderfluent-designftphttp3magnetpyqtpyside6pythonqtquicreactsoftwarestreaming
fix: 更新 M3U8Pack 和 M3U8TaskStage 以确保 saveName 跟随 title 重算
XiaoYouChRcbc051371272
diff --git a/features/m3u8_pack/pack.py b/features/m3u8_pack/pack.pyindex 0ed35ef1..a5f2d62f 100644--- a/features/m3u8_pack/pack.py+++ b/features/m3u8_pack/pack.py@@ -139,7 +139,6 @@ class M3U8Pack(FeaturePack):stage = M3U8TaskStage(stageIndex=1,- saveName=_stem(title),headers=headers,proxies=proxies if isinstance(proxies, dict) else {},threadCount=m3u8Config.threadCount.value,diff --git a/features/m3u8_pack/task.py b/features/m3u8_pack/task.pyindex 37dd6b51..85df678f 100644--- a/features/m3u8_pack/task.py+++ b/features/m3u8_pack/task.py@@ -59,8 +59,11 @@ class M3U8TaskStage(TaskStage):lastMessage: str = ""def updateOutputFile(self, taskPath: Path, taskTitle: str):+ # saveName 跟随 title 重算——否则 dedup/category 改了 title 后,N_m3u8DL-RE+ # 还在用旧 saveName 输出,_updateOutput 找不到真正产物只能命中 .m3u8 残留self.outputFile = toPosixPath(taskPath / taskTitle)self.tempDir = toPosixPath(taskPath / ".gd3_m3u8" / self.task.taskId)+ self.saveName = Path(taskTitle).stemclass M3U8Worker(Worker):@@ -203,6 +206,8 @@ class M3U8Worker(Worker):self.stage.task.path.mkdir(parents=True, exist_ok=True)Path(self.stage.tempDir).mkdir(parents=True, exist_ok=True)+ # 占位以便后续同名任务被 deduplicateFilename 检测到——N_m3u8DL-RE 要跑一段时间才落盘+ Path(self.stage.outputFile).touch(exist_ok=True)process = NonesupervisorTask = None