Merge pull request #5 from lysssssss/master

修复QB开启自动种子管理导致辅种后不校验的问题
This commit is contained in:
David
2020-01-10 20:51:35 +08:00
committed by GitHub

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 );
}
}