[API] "config" command "speedlimit" absolute value
Posted: March 4th, 2016, 10:42 pm
Hello
Currently calling `api?mode=config&name=speedlimit&value=50` will set the speedlimit to 50%, when previously it would be set to 50 Kb/s.
I had a look through api.py and couldn't find a suitable replacement added.
I propose simply adding "speedlimit_abs" with a value in bytes per second to the "config" command, in parity with the new "speedlimit_abs" result of "queue" & "qstatus".
E.g. `api?mode=config&name=speedlimit_abs&value=51200` to set speed limit to 50 Kb/s.
Hope this can be added before release.
Thanks.
Currently calling `api?mode=config&name=speedlimit&value=50` will set the speedlimit to 50%, when previously it would be set to 50 Kb/s.
I had a look through api.py and couldn't find a suitable replacement added.
I propose simply adding "speedlimit_abs" with a value in bytes per second to the "config" command, in parity with the new "speedlimit_abs" result of "queue" & "qstatus".
E.g. `api?mode=config&name=speedlimit_abs&value=51200` to set speed limit to 50 Kb/s.
Hope this can be added before release.
Thanks.