|
|
@ -32,6 +32,7 @@ ENV searchSort=date
|
|
|
|
ENV enableBeetsTagging=true
|
|
|
|
ENV enableBeetsTagging=true
|
|
|
|
ENV enableReplaygainTags=true
|
|
|
|
ENV enableReplaygainTags=true
|
|
|
|
ENV downloadPath=/downloads-lidarr-extended
|
|
|
|
ENV downloadPath=/downloads-lidarr-extended
|
|
|
|
|
|
|
|
ENV SMA_PATH /usr/local/sma
|
|
|
|
|
|
|
|
|
|
|
|
RUN \
|
|
|
|
RUN \
|
|
|
|
echo "*** install packages ***" && \
|
|
|
|
echo "*** install packages ***" && \
|
|
|
@ -51,7 +52,21 @@ RUN \
|
|
|
|
pyacoustid \
|
|
|
|
pyacoustid \
|
|
|
|
tidal-dl \
|
|
|
|
tidal-dl \
|
|
|
|
r128gain \
|
|
|
|
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 local files
|
|
|
|
COPY root/ /
|
|
|
|
COPY root/ /
|
|
|
|