sabnzbd queue API bug in quota and left_quota
Posted: April 10th, 2023, 12:18 am
Both quota and left_quota have spaces after them when they show 0, and possibly other values in both json and xml in the queue api:
Version: 3.7.2
json
xml
This will cause many scripts and other things to treat these values as strings. If they are floats please output "0.0". Otherwise "0" would be correct. There might be other values with this issue too but these are the ones I noticed. Thanks!
Version: 3.7.2
json
Code: Select all
quota: "0 "
left_quota: "0 "
Code: Select all
<quota>0 </quota>
<left_quota>0 </left_quota>