You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.6 KiB
58 lines
1.6 KiB
2 years ago
|
FROM linuxserver/sabnzbd:amd64
|
||
5 years ago
|
LABEL maintainer="RandomNinjaAtk"
|
||
|
|
||
4 years ago
|
ENV TITLE="SABnzbd Extended"
|
||
2 years ago
|
ENV VERSION="1.0.144"
|
||
5 years ago
|
ENV SMA_PATH /usr/local/sma
|
||
5 years ago
|
ENV VIDEO_LANG eng
|
||
5 years ago
|
ENV VIDEO_SMA FALSE
|
||
5 years ago
|
ENV VIDEO_SMA_TAGGING FALSE
|
||
5 years ago
|
ENV AUDIO_VERIFY TRUE
|
||
5 years ago
|
ENV AUDIO_FORMAT FLAC
|
||
5 years ago
|
ENV AUDIO_BITRATE 320
|
||
|
ENV AUDIO_REPLAYGAIN FALSE
|
||
|
ENV AUDIO_DSFA TRUE
|
||
3 years ago
|
ENV AUDIO_DSFAS 153600k
|
||
3 years ago
|
ENV RequireAudioQualityMatch false
|
||
5 years ago
|
|
||
5 years ago
|
RUN \
|
||
4 years ago
|
echo "************ install and update packages ************" && \
|
||
3 years ago
|
apk add -U --update --no-cache \
|
||
5 years ago
|
flac \
|
||
|
opus-tools \
|
||
5 years ago
|
jq \
|
||
5 years ago
|
git \
|
||
3 years ago
|
mkvtoolnix \
|
||
3 years ago
|
ffmpeg && \
|
||
2 years ago
|
echo "************ install python packages ************" && \
|
||
|
pip install --upgrade --no-cache-dir -U \
|
||
|
r128gain && \
|
||
5 years ago
|
echo "************ setup SMA ************" && \
|
||
|
echo "************ setup directory ************" && \
|
||
5 years ago
|
mkdir -p ${SMA_PATH} && \
|
||
5 years ago
|
echo "************ download repo ************" && \
|
||
5 years ago
|
git clone https://github.com/mdhiggins/sickbeard_mp4_automator.git ${SMA_PATH} && \
|
||
|
mkdir -p ${SMA_PATH}/config && \
|
||
5 years ago
|
echo "************ create logging file ************" && \
|
||
5 years ago
|
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 && \
|
||
5 years ago
|
echo "************ install pip dependencies ************" && \
|
||
5 years ago
|
python3 -m pip install --user --upgrade pip && \
|
||
4 years ago
|
pip3 install -r ${SMA_PATH}/setup/requirements.txt && \
|
||
4 years ago
|
echo "************ install beets ************" && \
|
||
|
pip3 install https://github.com/beetbox/beets/tarball/master && \
|
||
4 years ago
|
pip3 install pyacoustid
|
||
5 years ago
|
|
||
5 years ago
|
|
||
|
# copy local files
|
||
|
COPY root/ /
|
||
|
|
||
4 years ago
|
# set work directory
|
||
|
WORKDIR /config
|
||
|
|
||
5 years ago
|
# ports and volumes
|
||
|
EXPOSE 8080 9090
|
||
4 years ago
|
VOLUME /config
|