mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2025-06-13 12:18:56 +00:00
优化过滤条件
This commit is contained in:
@ -577,7 +577,7 @@ function filterStatus( $v ){
|
||||
* qBittorrent过滤函数,只保留正常做种
|
||||
*/
|
||||
function qbfilterStatus( $v ){
|
||||
if( ($v['state']=='uploading') || ($v['state'] == 'stalledUP') || ($v['state'] == 'pausedUP') || ($v['state'] == 'queuedUP') || ($v['state'] == 'checkingUP') || ($v['state'] == 'forcedUP') ){
|
||||
if( isset($v['status']) && in_array($v['state'], array('uploading','stalledUP','pausedUP','queuedUP','checkingUP','forcedUP')) ){
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user