Update speedlimit for SAB 1.0.0 release
SABnzbd-dev here.
SAbnzbd 1.0.0 Final was released yesterday, with a change to the API.
Speed limit is now set as a % (of total bandwidth set in Config).
Alternatively it can also be set with a specific value, but now this needs be in Bytes/s instead of KB/s as was in 0.7.20.
So now sending 2M would be 2MB/s and 1500K would be 1500KB/s.
Since we promote this plugin on the http://sabnzbd.org main page, we hoped you could update it reflect this change? :)
Ok
https://github.com/sabnzbd/sabnzbd/blob/1.0.0/sabnzbd/misc.py#L636
Need to explore the setMaxSpeed function to interpret this.
https://github.com/gboudreau/sabconnectplusplus/blob/master/scripts/pages/popup.js#L84:L98
The API now also has an extra output speedlimit_abs, which has the current speedlimit in Bytes/s instead of %
Could probably use that to easily detect if user has a SABnzbd version that uses the % speedlimit.
Hope this helps!