Skip to content

Commit 17379ef

Browse files
Bug was fixed upstream, reverting to original file
#283 - Should resolve
1 parent b848060 commit 17379ef

File tree

1 file changed

+19
-38
lines changed

1 file changed

+19
-38
lines changed

radarr/setup.bash

Lines changed: 19 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ apk add -U --update --no-cache \
1515
gcc \
1616
ffmpeg && \
1717
echo "************ install python packages ************" && \
18-
pip install --upgrade pip==24.1 && \
1918
pip install --upgrade --no-cache-dir -U --break-system-packages \
2019
excludarr \
2120
yt-dlp \
@@ -24,20 +23,6 @@ echo "************ setup SMA ************"
2423
if [ -d "${SMA_PATH}" ]; then
2524
rm -rf "${SMA_PATH}"
2625
fi
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
4126
echo "************ setup directory ************" && \
4227
mkdir -p ${SMA_PATH} && \
4328
echo "************ download repo ************" && \
@@ -49,20 +34,14 @@ touch ${SMA_PATH}/config/sma.log && \
4934
chgrp users ${SMA_PATH}/config/sma.log && \
5035
chmod g+w ${SMA_PATH}/config/sma.log && \
5136
echo "************ 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 && \
6039
echo "************ install recyclarr ************" && \
6140
mkdir -p /recyclarr && \
6241
wget "https://github.com/recyclarr/recyclarr/releases/latest/download/recyclarr-linux-musl-x64.tar.xz" -O "/recyclarr/recyclarr.tar.xz" && \
6342
tar -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

6746
mkdir -p /custom-services.d
6847
echo "Download QueueCleaner service..."
@@ -90,10 +69,11 @@ echo "Download Script Functions..."
9069
curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/universal/functions.bash -o /config/extended/functions
9170
echo "Done"
9271

72+
9373
if [ ! -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"
9777
fi
9878

9979
mkdir -p /config/extended
@@ -106,28 +86,29 @@ curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/Ex
10686
echo "Done"
10787

10888
if [ ! -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"
11292
fi
11393

11494
echo "Download Recyclarr service..."
11595
curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/universal/services/Recyclarr -o /custom-services.d/Recyclarr
11696
echo "Done"
11797

11898
if [ ! -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"
122102
fi
123103

124104
if [ ! -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"
129109
fi
130110

111+
131112
chmod 777 -R /config/extended
132113
if [ -f /custom-services.d/scripts_init.bash ]; then
133114
# user misconfiguration detected, sleeping...

0 commit comments

Comments
 (0)