sabconnectplusplus icon indicating copy to clipboard operation
sabconnectplusplus copied to clipboard

Update speedlimit for SAB 1.0.0 release

Open Safihre opened this issue 10 years ago • 2 comments

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? :)

Safihre avatar Mar 16 '16 10:03 Safihre

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

ppslim avatar Mar 16 '16 13:03 ppslim

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!

Safihre avatar Mar 16 '16 13:03 Safihre