@@ -20,7 +20,7 @@ pip install --upgrade --no-cache-dir -U --break-system-packages \
2020 yt-dlp \
2121 yq && \
2222echo " ************ setup SMA ************"
23- if [ -d " ${SMA_PATH} " ]; then
23+ if [ -d " ${SMA_PATH} " ]; then
2424 rm -rf " ${SMA_PATH} "
2525fi
2626echo " *********SMA WORKAROUND ************"
@@ -50,11 +50,16 @@ chmod g+w ${SMA_PATH}/config/sma.log && \
5050echo " ************ install pip dependencies ************" && \
5151python3 -m pip install --break-system-packages --upgrade pip && \
5252pip3 install --break-system-packages -r ${SMA_PATH} /setup/requirements.txt || true
53+
54+ echo " ************ install qtfaststart ************"
55+ pip3 install qtfaststart || echo " qtfaststart installation failed, continuing..."
56+
5357echo " ************ install recyclarr ************" && \
5458mkdir -p /recyclarr && \
5559wget " https://github.com/recyclarr/recyclarr/releases/latest/download/recyclarr-linux-musl-x64.tar.xz" -O " /recyclarr/recyclarr.tar.xz" && \
5660tar -xf /recyclarr/recyclarr.tar.xz -C /recyclarr & > /dev/null && \
5761chmod 777 /recyclarr/recyclarr
62+
5863apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/community dotnet8-runtime
5964
6065mkdir -p /custom-services.d
@@ -83,46 +88,44 @@ echo "Download Script Functions..."
8388curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/universal/functions.bash -o /config/extended/functions
8489echo " Done"
8590
86-
8791if [ ! -f /config/extended/naming.json ]; then
88- echo " Download Naming script..."
89- curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/naming.json -o /config/extended/naming.json
90- echo " Done"
92+ echo " Download Naming script..."
93+ curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/naming.json -o /config/extended/naming.json
94+ echo " Done"
9195fi
9296
9397mkdir -p /config/extended
9498echo " Download PlexNotify script..."
95- curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/PlexNotify.bash -o /config/extended/PlexNotify.bash
99+ curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/PlexNotify.bash -o /config/extended/PlexNotify.bash
96100echo " Done"
97101
98102echo " Download Extras script..."
99- curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/Extras.bash -o /config/extended/Extras.bash
103+ curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/Extras.bash -o /config/extended/Extras.bash
100104echo " Done"
101105
102106if [ ! -f /config/extended/sma.ini ]; then
103- echo " Download SMA config..."
104- curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/sma.ini -o /config/extended/sma.ini
105- echo " Done"
107+ echo " Download SMA config..."
108+ curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/sma.ini -o /config/extended/sma.ini
109+ echo " Done"
106110fi
107111
108112echo " Download Recyclarr service..."
109113curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/universal/services/Recyclarr -o /custom-services.d/Recyclarr
110114echo " Done"
111115
112116if [ ! -f /config/extended/recyclarr.yaml ]; then
113- echo " Download Recyclarr config..."
114- curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/recyclarr.yaml -o /config/extended/recyclarr.yaml
115- echo " Done"
117+ echo " Download Recyclarr config..."
118+ curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/recyclarr.yaml -o /config/extended/recyclarr.yaml
119+ echo " Done"
116120fi
117121
118122if [ ! -f /config/extended.conf ]; then
119- echo " Download Extended config..."
120- curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/extended.conf -o /config/extended.conf
121- chmod 777 /config/extended.conf
122- echo " Done"
123+ echo " Download Extended config..."
124+ curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/extended.conf -o /config/extended.conf
125+ chmod 777 /config/extended.conf
126+ echo " Done"
123127fi
124128
125-
126129chmod 777 -R /config/extended
127130if [ -f /custom-services.d/scripts_init.bash ]; then
128131 # user misconfiguration detected, sleeping...
0 commit comments