From 770dd64615c7891028d5fe36a5ac3b5cf0ca9bff Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Fri, 7 Jul 2023 14:55:30 -0400 Subject: [PATCH] Update setup.bash --- sabnzbd/setup.bash | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/sabnzbd/setup.bash b/sabnzbd/setup.bash index 294b9ca..4422bab 100644 --- a/sabnzbd/setup.bash +++ b/sabnzbd/setup.bash @@ -4,8 +4,24 @@ scriptVersion="1.4" ######## Package dependencies installation InstallRequirements () { echo "Installing Required Packages..." - apk add -U --update --no-cache curl jq python3-dev py3-pip git ffmpeg - pip install --upgrade --no-cache-dir -U yq + echo "************ install and update packages ************" + apk add -U --update --no-cache \ + flac \ + opus-tools \ + jq \ + git \ + ffmpeg + apk add mp3val --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing + echo "*** install beets ***" + apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/community beets + echo "************ install python packages ************" + pip install --upgrade --no-cache-dir -U \ + m4b-merge \ + pyacoustid \ + requests \ + pylast \ + mutagen \ + r128gain echo "Done" if [ -d /config/scripts/sma ]; then rm -rf /config/scripts/sma @@ -53,8 +69,7 @@ if [ -f /config/video.bash ]; then echo "Importing /config/sma.ini to /config/scripts/video.bash" mv /config/video.bash /config/scripts/video.bash chmod 777 /config/scripts/video.bash -fi - +fi chmod 777 -R /config/scripts exit