Sabnzbd: start_paused switch causes '/queue' to return 'paused' value of 1

Created on 29 Jun 2020  路  5Comments  路  Source: sabnzbd/sabnzbd

When using the start_paused switch to start the queue as paused, it causes the API call to fetch the queue to return a paused value of 1, an integer, instead of an expected boolean. In every other situation (including if you toggle the paused/resume state), it returns a boolean of true or false.

Bug

All 5 comments

Can you the show the relevant API output? So with start_paused off and on?

@sanderjo I also start my Sabnzbd paused, so I was able to reproduce this. Will fix!

I assume since you can replicate the issue you do not need the output, but I will still supply a screenshot to ensure there is no confusion. I was debugging with a user of mine, "Yours" was his output (where start_paused was enabled) and "Mine" was my personal instance where I do not use this switch.

This was received by calling <host>/api?mode=queue&output=json&apikey=<key>.

screenshot

Thanks for the additional info, and thanks for analyzing this.

Will be fixed in 3.0.0!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nosmokingbandit picture nosmokingbandit  路  5Comments

marka65 picture marka65  路  12Comments

Safihre picture Safihre  路  11Comments

Jonnehs picture Jonnehs  路  6Comments

pinn73 picture pinn73  路  5Comments