Compare commits

...

4 Commits

Author SHA1 Message Date
iyuu.cn
fa31319399 增加composer一键安装批处理 2020-03-09 13:48:36 +08:00
iyuu.cn
9597182628 新增3种安装方式,并提供安装命令 2020-03-09 13:48:02 +08:00
iyuu.cn
61d3ca843d 修复因不支持站点辅种缓存引起的错误提示。 2020-03-09 13:37:59 +08:00
iyuu.cn
4a63353d27 增加git更新批处理 2020-03-03 16:43:12 +08:00
5 changed files with 30 additions and 3 deletions

View File

@@ -44,7 +44,7 @@ class AutoReseed
private static $curl = null; private static $curl = null;
// 退出状态码 // 退出状态码
public static $ExitCode = 0; public static $ExitCode = 0;
// 客户端转移做种 // 客户端转移做种 格式:['客户端key', '移动参数move']
private static $move = null; private static $move = null;
// 微信消息体 // 微信消息体
private static $wechatMsg = array( private static $wechatMsg = array(
@@ -215,7 +215,7 @@ class AutoReseed
$extra_options['autoTMM'] = 'false'; //关闭自动种子管理 $extra_options['autoTMM'] = 'false'; //关闭自动种子管理
if (isset($extra_options['paused'])) { if (isset($extra_options['paused'])) {
$extra_options['paused'] = $extra_options['paused'] ? 'true' : 'false'; $extra_options['paused'] = $extra_options['paused'] ? 'true' : 'false';
}else { } else {
$extra_options['paused'] = 'true'; $extra_options['paused'] = 'true';
} }
if ($is_url) { if ($is_url) {
@@ -329,6 +329,11 @@ class AutoReseed
// 种子id // 种子id
$torrent_id = $value['torrent_id']; $torrent_id = $value['torrent_id'];
// 站点名 // 站点名
if (empty($sites[$sid]['site'])) {
echo '-----当前站点不受支持,已跳过。' .PHP_EOL.PHP_EOL;
self::$wechatMsg['reseedSkip']++;
continue;
}
$siteName = $sites[$sid]['site']; $siteName = $sites[$sid]['site'];
// 错误通知 // 错误通知
self::setNotify($siteName, $sid, $torrent_id); self::setNotify($siteName, $sid, $torrent_id);

View File

@@ -1,2 +1,2 @@
@echo off @echo off
composer install composer create-project ledccn/iyuuautoreseed:dev-master

View File

@@ -10,6 +10,20 @@
第三您使用IYUU工具造成的一切损失与IYUU无关。如不接受此条款请不要使用IYUUAutoReseed并立刻删除已经下载的源码。 第三您使用IYUU工具造成的一切损失与IYUU无关。如不接受此条款请不要使用IYUUAutoReseed并立刻删除已经下载的源码。
## 安装脚本,三种方式皆可
1. 通过git命令安装
`git clone https://github.com/ledccn/IYUUAutoReseed.git`
2. 通过composer命令安装
`composer create-project ledccn/iyuuautoreseed:dev-master`
3. 直接下载zip源码包
`https://github.com/ledccn/IYUUAutoReseed/archive/master.zip`
## 功能 ## 功能
IYUU自动辅种工具目前能对国内大部分的PT站点自动辅种支持下载器集群支持多盘位支持多下载目录支持远程连接等。 IYUU自动辅种工具目前能对国内大部分的PT站点自动辅种支持下载器集群支持多盘位支持多下载目录支持远程连接等。
@@ -57,6 +71,7 @@ http://api.iyuu.cn/docs.php
## 需求提交/错误反馈 ## 需求提交/错误反馈
- 点击链接加入群聊【IYUU自动辅种交流】[https://jq.qq.com/?_wv=1027&k=5JOfOlM][1] - 点击链接加入群聊【IYUU自动辅种交流】[https://jq.qq.com/?_wv=1027&k=5JOfOlM][1]
- QQ群859882209 - QQ群859882209
- 问答社区http://wenda.iyuu.cn
- issues https://gitee.com/ledc/IYUUAutoReseed/issues - issues https://gitee.com/ledc/IYUUAutoReseed/issues
## 捐助开发者 ## 捐助开发者

7
更新与辅种.cmd Normal file
View File

@@ -0,0 +1,7 @@
@echo off
chcp 65001
git fetch --all
git reset --hard origin/master
git pull
%cd%\php-7.4.2-nts-Win32-vc15-x86\php %cd%\iyuu.php
pause