mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2025-08-24 06:54:51 +00:00
修复QB开启自动种子管理导致辅种后不校验的问题
This commit is contained in:
@@ -277,6 +277,7 @@ class iyuuAutoReseed
|
|||||||
break;
|
break;
|
||||||
case 'qBittorrent':
|
case 'qBittorrent':
|
||||||
$extra_options['paused'] = 'true';
|
$extra_options['paused'] = 'true';
|
||||||
|
$extra_options['autoTMM'] = 'false'; //关闭自动种子管理
|
||||||
if( $is_url ){
|
if( $is_url ){
|
||||||
$result = self::$links[$rpcKey]['rpc']->add( $torrent, $save_path, $extra_options ); // 种子URL添加下载任务
|
$result = self::$links[$rpcKey]['rpc']->add( $torrent, $save_path, $extra_options ); // 种子URL添加下载任务
|
||||||
} else{
|
} else{
|
||||||
@@ -596,4 +597,4 @@ function object_array($array) {
|
|||||||
// 对象转数组
|
// 对象转数组
|
||||||
function object2array(&$object) {
|
function object2array(&$object) {
|
||||||
return json_decode( json_encode( $object ), true );
|
return json_decode( json_encode( $object ), true );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user