Compare commits

...

3 Commits

Author SHA1 Message Date
iyuu.cn
02205e6ce3 修复transmission往qBittorrent转移种子,错误的问题。 2020-03-21 19:33:50 +08:00
iyuu.cn
818794a19b 错误提示后面增加换行符。 2020-03-19 19:58:10 +08:00
iyuu.cn
88bc79ff58 版本升级至v1.6.7 2020-03-16 15:00:00 +08:00

View File

@@ -13,7 +13,7 @@ use IYUU\Library\Table;
class AutoReseed class AutoReseed
{ {
// 版本号 // 版本号
const VER = '1.6.3'; const VER = '1.6.7';
// RPC连接 // RPC连接
private static $links = array(); private static $links = array();
// 客户端配置 // 客户端配置
@@ -122,10 +122,10 @@ class AutoReseed
@fclose($file_pointer); @fclose($file_pointer);
} else { } else {
if (isset($rs['msg']) && $rs['msg']) { if (isset($rs['msg']) && $rs['msg']) {
die($rs['msg']); die($rs['msg'].PHP_EOL);
} }
if (isset($rs['errmsg']) && $rs['errmsg']) { if (isset($rs['errmsg']) && $rs['errmsg']) {
die($rs['errmsg']); die($rs['errmsg'].PHP_EOL);
} }
die('远端服务器无响应,请稍后再试!!!'); die('远端服务器无响应,请稍后再试!!!');
} }
@@ -553,7 +553,8 @@ class AutoReseed
continue; continue;
} }
echo "正在从下载器 clients_".$k." 获取种子哈希……".PHP_EOL; echo "正在从下载器 clients_".$k." 获取种子哈希……".PHP_EOL;
$hashArray = self::$links[$k]['rpc']->getList(self::$move); $move = []; // 客户端做种列表 传址
$hashArray = self::$links[$k]['rpc']->getList($move);
if (empty($hashArray)) { if (empty($hashArray)) {
// 失败 // 失败
continue; continue;