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

Questions and bug reports for Beta releases should be posted here.
Forum rules
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.
Post Reply
User avatar
Enesce
Newbie
Newbie
Posts: 9
Joined: October 10th, 2014, 5:06 am

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

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post by shypike »

That shouldn't be hard to do, I'll have a look.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post 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".
Post Reply