diff --git a/app/AutoReseed.php b/app/AutoReseed.php index 60f947f..a2f4acd 100644 --- a/app/AutoReseed.php +++ b/app/AutoReseed.php @@ -13,7 +13,7 @@ use IYUU\Library\Table; class AutoReseed { // 版本号 - const VER = '1.5.3'; + const VER = '1.5.7'; // RPC连接 private static $links = array(); // 客户端配置 @@ -213,7 +213,11 @@ class AutoReseed break; case 'qBittorrent': $extra_options['autoTMM'] = 'false'; //关闭自动种子管理 - $extra_options['paused'] = isset($extra_options['paused']) ? $extra_options['paused'] : true; + if (isset($extra_options['paused'])) { + $extra_options['paused'] = $extra_options['paused'] ? 'true' : 'false'; + }else { + $extra_options['paused'] = 'true'; + } if ($is_url) { $result = self::$links[$rpcKey]['rpc']->add($torrent, $save_path, $extra_options); // 种子URL添加下载任务 } else { diff --git a/iyuu.php b/iyuu.php index 33c27fd..f70ea2b 100644 --- a/iyuu.php +++ b/iyuu.php @@ -1,5 +1,7 @@