mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-13 02:07:12 -07:00
parent
df15dbe462
commit
71a0c62fdb
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ namespace Lidarr.Api.V1.Queue
|
||||||
case "quality":
|
case "quality":
|
||||||
return q => q.Quality;
|
return q => q.Quality;
|
||||||
case "progress":
|
case "progress":
|
||||||
return q => 100 - q.Sizeleft / q.Size * 100;
|
return q => q.Size == 0 ? 0 : 100 - q.Sizeleft / q.Size * 100;
|
||||||
default:
|
default:
|
||||||
return q => q.Timeleft;
|
return q => q.Timeleft;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue