Page 1 of 1

[API] Add "bandwidth_max" to "queue" call

Posted: September 21st, 2015, 4:01 am
by Enesce
Hello
I'm testing out 0.8.0b1 with my browser addon nzbFox.

Would it be possible for you to include the "bandwidth_max" value in the "queue" API call? Alternatively change the format of the "speedlimit" value to something like "50/8192" for 50% of 8M
With the change to percentage based speed limiting, the "speedlimit" value in the "queue" call is rather useless without also knowing the "bandwidth_max" value, for display reasons.
I understand it can be obtained by calling "config" but would much prefer to not use excessive calls.

Re: [API] Add "bandwidth_max" to "queue" call

Posted: September 21st, 2015, 4:10 am
by shypike
That shouldn't be hard to do, I'll have a look.

Re: [API] Add "bandwidth_max" to "queue" call

Posted: September 30th, 2015, 3:21 pm
by shypike
Will be in Beta2.

Code: Select all

Add parameter "speedlimit_abs" to API-call "queue".
Add parameters "speedlimit" and "speedlimit_abs" to API-call "qstatus".