Update Recyclarr

This commit is contained in:
billsbdb3 2024-07-03 14:25:25 -04:00 committed by GitHub
parent 3af447b736
commit 48c8caa3ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,7 +28,7 @@ verifyConfig () {
fi
}
RecyclarrProcess () {
RecyclarrProcess () {
# Configure Yaml with URL and API Key
sed -i "s%arrUrl%$arrUrl%g" "/config/extended/recyclarr.yaml"
sed -i "s%arrApi%$arrApiKey%g" "/config/extended/recyclarr.yaml"
@ -41,7 +41,7 @@ RecyclarrProcess () {
fi
# Run Recyclarr and capture the output
/recyclarr/recyclarr sync -c $recyclarrConfig --app-data /config/extended/recyclarr-data 2>&1 | tee -a "/config/logs/$logFileName"
/recyclarr/recyclarr sync -c $recyclarrConfig --app-data /config/extended/recyclarr-data 2>&1 | while IFS= read -r line; do log "$line"; done
log "Complete"
}