From 032ea1e8e520c57367fc0cfecf650087516793f5 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Thu, 28 Jul 2022 20:12:35 +0000 Subject: [PATCH] amd64-1.0.23 - Add sma --- amd64.dockerfile | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/amd64.dockerfile b/amd64.dockerfile index cb75e0c..6adc16b 100644 --- a/amd64.dockerfile +++ b/amd64.dockerfile @@ -2,7 +2,7 @@ FROM linuxserver/lidarr:amd64-latest LABEL maintainer="RandomNinjaAtk" ENV dockerTitle="lidarr-extended" -ENV dockerVersion="amd64-1.0.22" +ENV dockerVersion="amd64-1.0.23" ENV LANG=en_US.UTF-8 ENV autoStart=true ENV configureLidarrWithOptimalSettings=false @@ -22,6 +22,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 ***" && \ @@ -44,7 +45,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/ /