This is to enable scripts to interrogate the sabnzbd API
I was hoping this wasn't necessary, and APTLIST could be overridden in the docker run command line, but it didn't take. It might be due to my using the Synology Docker UI.
Anyway, I add wget and jq (link) so I can use this script to wrap my calls to retrieve.php:
# If sabnzbd is downloading at the time the spotweb retrieve script runs
# You can get the "Too many connections to server xxxxx.xxx" error.
# The script attempts to pause the sabnzbd queue,
# then wait for all connections to disconnect before running the spotweb retrieve script.
# Once it completes, the queue is started again (or reverted to initial state).
This is to enable scripts to interrogate the sabnzbd API
I was hoping this wasn't necessary, and
APTLIST
could be overridden in thedocker run
command line, but it didn't take. It might be due to my using the Synology Docker UI.Anyway, I add
wget
andjq
(link) so I can use this script to wrap my calls toretrieve.php
: