jgeusebroek / docker-spotweb

A docker image running ubuntu/20.04 Linux and Spotweb
47 stars 27 forks source link

Added wget and jq to the apt package install list #17

Closed jamesstout closed 4 years ago

jamesstout commented 4 years ago

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). 
jgeusebroek commented 4 years ago

Thanks for contributing!

jamesstout commented 4 years ago

Thanks for the merge. Will save me having to remember to apt update && apt install jq wget every time.