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"
|
||||
version="1.3"
|
||||
|
||||
echo "*** install packages ***" &&
|
||||
apk add -U --upgrade --no-cache \
|
||||
echo "*** install packages ***" && \
|
||||
apk add -U --upgrade --no-cache \
|
||||
tidyhtml \
|
||||
musl-locales \
|
||||
musl-locales-lang \
|
||||
|
@ -18,12 +18,12 @@ echo "*** install packages ***" &&
|
|||
python3-dev \
|
||||
libc-dev \
|
||||
py3-pip \
|
||||
npm &&
|
||||
echo "*** install freyr client ***" &&
|
||||
apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing atomicparsley &&
|
||||
npm install -g miraclx/freyr-js &&
|
||||
echo "*** install python packages ***" &&
|
||||
pip install --upgrade --no-cache-dir --break-system-packages \
|
||||
npm && \
|
||||
echo "*** install freyr client ***" && \
|
||||
apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing atomicparsley && \
|
||||
npm install -g miraclx/freyr-js &&\
|
||||
echo "*** install python packages ***" && \
|
||||
pip install --upgrade --no-cache-dir --break-system-packages \
|
||||
jellyfish \
|
||||
beautifulsoup4 \
|
||||
yt-dlp \
|
||||
|
@ -38,24 +38,24 @@ echo "*** install packages ***" &&
|
|||
mutagen \
|
||||
r128gain \
|
||||
tidal-dl \
|
||||
deemix &&
|
||||
echo "************ setup SMA ************"
|
||||
deemix && \
|
||||
echo "************ setup SMA ************"
|
||||
if [ -d "${SMA_PATH}" ]; then
|
||||
rm -rf "${SMA_PATH}"
|
||||
fi
|
||||
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 --break-system-packages --upgrade pip &&
|
||||
pip3 install --break-system-packages -r ${SMA_PATH}/setup/requirements.txt
|
||||
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 --break-system-packages --upgrade pip && \
|
||||
pip3 install --break-system-packages -r ${SMA_PATH}/setup/requirements.txt
|
||||
|
||||
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/ARLChecker -o /custom-services.d/ARLChecker
|
||||
|
||||
|
||||
|
||||
echo "Done"
|
||||
|
||||
mkdir -p /config/extended
|
||||
|
@ -131,6 +133,14 @@ if [ ! -f /config/extended/tidal-dl.json ]; then
|
|||
echo "Done"
|
||||
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..."
|
||||
curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/lidarr/LyricExtractor.bash -o /config/extended/LyricExtractor.bash
|
||||
echo "Done"
|
||||
|
|
Loading…
Reference in a new issue