mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2026-10-19 11:25:53 +00:00
修复添加种子元数据时,传入扩展参数失效的bug
This commit is contained in:
1 parent
c222663547
commit
f86c0a8392
2 files changed
+19
-15
No files matched your search
+4
-4
@@ -291,10 +291,10 @@ class AutoReseed
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 'qBittorrent':
|
||||
if ($is_url) {
|
||||
$extra_options['paused'] = 'true';
|
||||
$extra_options['autoTMM'] = 'false'; //关闭自动种子管理
|
||||
case 'qBittorrent':
|
||||
$extra_options['paused'] = 'true';
|
||||
$extra_options['autoTMM'] = 'false'; //关闭自动种子管理
|
||||
if ($is_url) {
|
||||
$result = self::$links[$rpcKey]['rpc']->add($torrent, $save_path, $extra_options); // 种子URL添加下载任务
|
||||
} else {
|
||||
$extra_options['name'] = 'torrents';
|
||||
|
||||
Reference in new issue
Block a user