mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 22:18:05 -06:00
Add stalled filters to GUI and Web API/UI
`/api/v2/torrents/info` can now take the following new values for the`filter` parameter: `stalled`, `stalled_uploading` and `stalled_downloading`. Requires Web API version bump. Closes #11787
This commit is contained in:
@@ -1225,6 +1225,18 @@ window.qBittorrent.DynamicTable = (function() {
|
||||
if (~state.indexOf('paused'))
|
||||
return false;
|
||||
break;
|
||||
case 'stalled':
|
||||
if ((state != 'stalledUP') && (state != 'stalledDL'))
|
||||
return false;
|
||||
break;
|
||||
case 'stalled_uploading':
|
||||
if (state != 'stalledUP')
|
||||
return false;
|
||||
break;
|
||||
case 'stalled_downloading':
|
||||
if (state != 'stalledDL')
|
||||
return false;
|
||||
break;
|
||||
case 'inactive':
|
||||
inactive = true;
|
||||
// fallthrough
|
||||
|
||||
Reference in New Issue
Block a user