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.
[API] Add "bandwidth_max" to "queue" call
Forum rules
Help us help you:
Help us help you:
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Re: [API] Add "bandwidth_max" to "queue" call
That shouldn't be hard to do, I'll have a look.
Re: [API] Add "bandwidth_max" to "queue" call
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".