From 5e2e9da8ca6507b6cd84a27f9c40b8ec4c2b3e29 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Thu, 28 Jul 2022 20:14:00 +0000 Subject: [PATCH] add sma --- arm32v7.dockerfile | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/arm32v7.dockerfile b/arm32v7.dockerfile index bf25a7f..36bb004 100644 --- a/arm32v7.dockerfile +++ b/arm32v7.dockerfile @@ -11,7 +11,7 @@ COPY --from=builder qemu-arm-static /usr/bin LABEL maintainer="RandomNinjaAtk" ENV dockerTitle="lidarr-extended" -ENV dockerVersion="arm32v7-1.0.22" +ENV dockerVersion="arm32v7-1.0.23" ENV LANG=en_US.UTF-8 ENV autoStart=true ENV configureLidarrWithOptimalSettings=false @@ -32,6 +32,7 @@ ENV searchSort=date ENV enableBeetsTagging=true ENV enableReplaygainTags=true ENV downloadPath=/downloads-lidarr-extended +ENV SMA_PATH /usr/local/sma RUN \ echo "*** install packages ***" && \ @@ -51,7 +52,21 @@ RUN \ pyacoustid \ tidal-dl \ r128gain \ - deemix + deemix &&\ + echo "************ setup SMA ************" && \ + echo "************ setup directory ************" && \ + mkdir -p ${SMA_PATH} && \ + echo "************ download repo ************" && \ + git clone https://github.com/mdhiggins/sickbeard_mp4_automator.git ${SMA_PATH} && \ + mkdir -p ${SMA_PATH}/config && \ + echo "************ create logging file ************" && \ + mkdir -p ${SMA_PATH}/config && \ + touch ${SMA_PATH}/config/sma.log && \ + chgrp users ${SMA_PATH}/config/sma.log && \ + chmod g+w ${SMA_PATH}/config/sma.log && \ + echo "************ install pip dependencies ************" && \ + python3 -m pip install --user --upgrade pip && \ + pip3 install -r ${SMA_PATH}/setup/requirements.txt # copy local files COPY root/ /