mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-07 05:31:25 -07:00
Add "Forced metadata downloading" state (#15185)
This commit is contained in:
parent
e5943b64c1
commit
01d851440b
5 changed files with 15 additions and 2 deletions
|
@ -930,6 +930,7 @@ window.qBittorrent.DynamicTable = (function() {
|
|||
switch (state) {
|
||||
case "forcedDL":
|
||||
case "metaDL":
|
||||
case "forcedMetaDL":
|
||||
state = "downloading";
|
||||
break;
|
||||
case "forcedUP":
|
||||
|
@ -994,6 +995,9 @@ window.qBittorrent.DynamicTable = (function() {
|
|||
case "metaDL":
|
||||
status = "QBT_TR(Downloading metadata)QBT_TR[CONTEXT=TransferListDelegate]";
|
||||
break;
|
||||
case "forcedMetaDL":
|
||||
status = "QBT_TR([F] Downloading metadata)QBT_TR[CONTEXT=TransferListDelegate]";
|
||||
break;
|
||||
case "forcedDL":
|
||||
status = "QBT_TR([F] Downloading)QBT_TR[CONTEXT=TransferListDelegate]";
|
||||
break;
|
||||
|
@ -1310,7 +1314,7 @@ window.qBittorrent.DynamicTable = (function() {
|
|||
if (state == 'stalledDL')
|
||||
r = (row['full_data'].upspeed > 0);
|
||||
else
|
||||
r = state == 'metaDL' || state == 'downloading' || state == 'forcedDL' || state == 'uploading' || state == 'forcedUP';
|
||||
r = state == 'metaDL' || state == 'forcedMetaDL' || state == 'downloading' || state == 'forcedDL' || state == 'uploading' || state == 'forcedUP';
|
||||
if (r == inactive)
|
||||
return false;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue