Revert formatting changes
This commit is contained in:
parent
9326a80c98
commit
132fa97b3f
1 changed files with 79 additions and 69 deletions
|
@ -2,8 +2,8 @@
|
||||||
SMA_PATH="/usr/local/sma"
|
SMA_PATH="/usr/local/sma"
|
||||||
version="1.3"
|
version="1.3"
|
||||||
|
|
||||||
echo "*** install packages ***" &&
|
echo "*** install packages ***" && \
|
||||||
apk add -U --upgrade --no-cache \
|
apk add -U --upgrade --no-cache \
|
||||||
tidyhtml \
|
tidyhtml \
|
||||||
musl-locales \
|
musl-locales \
|
||||||
musl-locales-lang \
|
musl-locales-lang \
|
||||||
|
@ -18,12 +18,12 @@ echo "*** install packages ***" &&
|
||||||
python3-dev \
|
python3-dev \
|
||||||
libc-dev \
|
libc-dev \
|
||||||
py3-pip \
|
py3-pip \
|
||||||
npm &&
|
npm && \
|
||||||
echo "*** install freyr client ***" &&
|
echo "*** install freyr client ***" && \
|
||||||
apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing atomicparsley &&
|
apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing atomicparsley && \
|
||||||
npm install -g miraclx/freyr-js &&
|
npm install -g miraclx/freyr-js &&\
|
||||||
echo "*** install python packages ***" &&
|
echo "*** install python packages ***" && \
|
||||||
pip install --upgrade --no-cache-dir --break-system-packages \
|
pip install --upgrade --no-cache-dir --break-system-packages \
|
||||||
jellyfish \
|
jellyfish \
|
||||||
beautifulsoup4 \
|
beautifulsoup4 \
|
||||||
yt-dlp \
|
yt-dlp \
|
||||||
|
@ -38,24 +38,24 @@ echo "*** install packages ***" &&
|
||||||
mutagen \
|
mutagen \
|
||||||
r128gain \
|
r128gain \
|
||||||
tidal-dl \
|
tidal-dl \
|
||||||
deemix &&
|
deemix && \
|
||||||
echo "************ setup SMA ************"
|
echo "************ setup SMA ************"
|
||||||
if [ -d "${SMA_PATH}" ]; then
|
if [ -d "${SMA_PATH}" ]; then
|
||||||
rm -rf "${SMA_PATH}"
|
rm -rf "${SMA_PATH}"
|
||||||
fi
|
fi
|
||||||
echo "************ setup directory ************" &&
|
echo "************ setup directory ************" && \
|
||||||
mkdir -p ${SMA_PATH} &&
|
mkdir -p ${SMA_PATH} && \
|
||||||
echo "************ download repo ************" &&
|
echo "************ download repo ************" && \
|
||||||
git clone https://github.com/mdhiggins/sickbeard_mp4_automator.git ${SMA_PATH} &&
|
git clone https://github.com/mdhiggins/sickbeard_mp4_automator.git ${SMA_PATH} && \
|
||||||
mkdir -p ${SMA_PATH}/config &&
|
mkdir -p ${SMA_PATH}/config && \
|
||||||
echo "************ create logging file ************" &&
|
echo "************ create logging file ************" && \
|
||||||
mkdir -p ${SMA_PATH}/config &&
|
mkdir -p ${SMA_PATH}/config && \
|
||||||
touch ${SMA_PATH}/config/sma.log &&
|
touch ${SMA_PATH}/config/sma.log && \
|
||||||
chgrp users ${SMA_PATH}/config/sma.log &&
|
chgrp users ${SMA_PATH}/config/sma.log && \
|
||||||
chmod g+w ${SMA_PATH}/config/sma.log &&
|
chmod g+w ${SMA_PATH}/config/sma.log && \
|
||||||
echo "************ install pip dependencies ************" &&
|
echo "************ install pip dependencies ************" && \
|
||||||
python3 -m pip install --break-system-packages --upgrade pip &&
|
python3 -m pip install --break-system-packages --upgrade pip && \
|
||||||
pip3 install --break-system-packages -r ${SMA_PATH}/setup/requirements.txt
|
pip3 install --break-system-packages -r ${SMA_PATH}/setup/requirements.txt
|
||||||
|
|
||||||
mkdir -p /custom-services.d
|
mkdir -p /custom-services.d
|
||||||
|
|
||||||
|
@ -92,6 +92,8 @@ echo "Download ARLChecker service..."
|
||||||
curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/lidarr/python/ARLChecker.py -o /custom-services.d/python/ARLChecker.py
|
curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/lidarr/python/ARLChecker.py -o /custom-services.d/python/ARLChecker.py
|
||||||
curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/lidarr/ARLChecker -o /custom-services.d/ARLChecker
|
curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/lidarr/ARLChecker -o /custom-services.d/ARLChecker
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
echo "Done"
|
echo "Done"
|
||||||
|
|
||||||
mkdir -p /config/extended
|
mkdir -p /config/extended
|
||||||
|
@ -131,6 +133,14 @@ if [ ! -f /config/extended/tidal-dl.json ]; then
|
||||||
echo "Done"
|
echo "Done"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "Download Deemix config..."
|
||||||
|
curl "https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/lidarr/deemix_config.json" -o /config/extended/deemix_config.json
|
||||||
|
echo "Done"
|
||||||
|
|
||||||
|
echo "Download Tidal config..."
|
||||||
|
curl "https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/lidarr/tidal-dl.json" -o /config/extended/tidal-dl.json
|
||||||
|
echo "Done"
|
||||||
|
|
||||||
echo "Download LyricExtractor script..."
|
echo "Download LyricExtractor script..."
|
||||||
curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/lidarr/LyricExtractor.bash -o /config/extended/LyricExtractor.bash
|
curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/lidarr/LyricExtractor.bash -o /config/extended/LyricExtractor.bash
|
||||||
echo "Done"
|
echo "Done"
|
||||||
|
|
Loading…
Reference in a new issue