mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2025-05-23 10:05:23 +00:00
修复因不支持站点辅种缓存引起的错误提示。
This commit is contained in:
parent
4a63353d27
commit
61d3ca843d
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user