@@ -15,7 +15,6 @@ apk add -U --update --no-cache \
1515 gcc \
1616 ffmpeg && \
1717echo " ************ install python packages ************" && \
18- pip install --upgrade pip==24.1 && \
1918pip install --upgrade --no-cache-dir -U --break-system-packages \
2019 excludarr \
2120 yt-dlp \
@@ -24,20 +23,6 @@ echo "************ setup SMA ************"
2423if [ -d " ${SMA_PATH} " ]; then
2524 rm -rf " ${SMA_PATH} "
2625fi
27- echo " *********SMA WORKAROUND ************"
28- pip3 install --break-system-packages \
29- requests \
30- idna \
31- requests-cache \
32- babelfish \
33- tmdbsimple \
34- mutagen \
35- guessit \
36- subliminal \
37- python-dateutil \
38- stevedore \
39- cleanit \
40- plexapi
4126echo " ************ setup directory ************" && \
4227mkdir -p ${SMA_PATH} && \
4328echo " ************ download repo ************" && \
@@ -49,20 +34,14 @@ touch ${SMA_PATH}/config/sma.log && \
4934chgrp users ${SMA_PATH} /config/sma.log && \
5035chmod g+w ${SMA_PATH} /config/sma.log && \
5136echo " ************ install pip dependencies ************" && \
52- python3 -m pip install --break-system-packages --upgrade pip==24.1 && \
53- pip3 install --break-system-packages -r ${SMA_PATH} /setup/requirements.txt || true
54-
55- echo " ************ install qtfaststart ************" && \
56- git clone https://github.com/danielgtaylor/qtfaststart.git /tmp/qtfaststart && \
57- cd /tmp/qtfaststart && \
58- python3 setup.py install
59-
37+ python3 -m pip install --break-system-packages --upgrade pip && \
38+ pip3 install --break-system-packages -r ${SMA_PATH} /setup/requirements.txt && \
6039echo " ************ install recyclarr ************" && \
6140mkdir -p /recyclarr && \
6241wget " https://github.com/recyclarr/recyclarr/releases/latest/download/recyclarr-linux-musl-x64.tar.xz" -O " /recyclarr/recyclarr.tar.xz" && \
6342tar -xf /recyclarr/recyclarr.tar.xz -C /recyclarr & > /dev/null && \
64- chmod 777 /recyclarr/recyclarr && \
65- apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/community dotnet8 -runtime
43+ chmod 777 /recyclarr/recyclarr
44+ apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/community dotnet7 -runtime
6645
6746mkdir -p /custom-services.d
6847echo " Download QueueCleaner service..."
@@ -90,10 +69,11 @@ echo "Download Script Functions..."
9069curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/universal/functions.bash -o /config/extended/functions
9170echo " Done"
9271
72+
9373if [ ! -f /config/extended/naming.json ]; then
94- echo " Download Naming script..."
95- curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/naming.json -o /config/extended/naming.json
96- echo " Done"
74+ echo " Download Naming script..."
75+ curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/naming.json -o /config/extended/naming.json
76+ echo " Done"
9777fi
9878
9979mkdir -p /config/extended
@@ -106,28 +86,29 @@ curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/Ex
10686echo " Done"
10787
10888if [ ! -f /config/extended/sma.ini ]; then
109- echo " Download SMA config..."
110- curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/sma.ini -o /config/extended/sma.ini
111- echo " Done"
89+ echo " Download SMA config..."
90+ curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/sma.ini -o /config/extended/sma.ini
91+ echo " Done"
11292fi
11393
11494echo " Download Recyclarr service..."
11595curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/universal/services/Recyclarr -o /custom-services.d/Recyclarr
11696echo " Done"
11797
11898if [ ! -f /config/extended/recyclarr.yaml ]; then
119- echo " Download Recyclarr config..."
120- curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/recyclarr.yaml -o /config/extended/recyclarr.yaml
121- echo " Done"
99+ echo " Download Recyclarr config..."
100+ curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/recyclarr.yaml -o /config/extended/recyclarr.yaml
101+ echo " Done"
122102fi
123103
124104if [ ! -f /config/extended.conf ]; then
125- echo " Download Extended config..."
126- curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/extended.conf -o /config/extended.conf
127- chmod 777 /config/extended.conf
128- echo " Done"
105+ echo " Download Extended config..."
106+ curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/extended.conf -o /config/extended.conf
107+ chmod 777 /config/extended.conf
108+ echo " Done"
129109fi
130110
111+
131112chmod 777 -R /config/extended
132113if [ -f /custom-services.d/scripts_init.bash ]; then
133114 # user misconfiguration detected, sleeping...
0 commit comments