修复QB开启自动种子管理导致辅种后不校验的问题

This commit is contained in:
Eason
2020-01-09 17:09:39 +08:00
parent 94940d1995
commit 7b258941c1

View File

@ -277,6 +277,7 @@ class iyuuAutoReseed
break;
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{
@ -596,4 +597,4 @@ function object_array($array) {
// 对象转数组
function object2array(&$object) {
return json_decode( json_encode( $object ), true );
}
}