bugfix for bugfix...

pull/6/head
RandomNinjaAtk 2 years ago committed by GitHub
parent 3ca5d2c408
commit b984d417c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,10 @@
#!/usr/bin/with-contenv bash
lidarrUrlBase="/$(cat /config/config.xml | xq | jq -r .Config.UrlBase)"
lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)"
if [ "$lidarrUrlBase" = "null" ]; then
lidarrUrlBase=""
else
lidarrUrlBase="/$(cat /config/config.xml | xq | jq -r .Config.UrlBase)"
fi
lidarrApiKey="$(cat /config/config.xml | xq | jq -r .Config.ApiKey)"
lidarrUrl="http://127.0.0.1:8686${lidarrUrlBase}"
agent="lidarr-extended ( https://github.com/RandomNinjaAtk/docker-lidarr-extended )"

Loading…
Cancel
Save