From 3ca5d2c4080857f2cdc00fc0b4708bdcab1446e0 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Wed, 15 Jun 2022 13:42:05 -0400 Subject: [PATCH] fix for base url --- root/scripts/download.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/root/scripts/download.sh b/root/scripts/download.sh index fda866d..c5be08b 100644 --- a/root/scripts/download.sh +++ b/root/scripts/download.sh @@ -1,6 +1,7 @@ #!/usr/bin/with-contenv bash -lidarrApiKey="$(grep "" /config/config.xml | sed "s/\ //;s/<\/ApiKey>//")" -lidarrUrl="http://127.0.0.1:8686" +lidarrUrlBase="/$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" +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 )" musicbrainzMirror=https://musicbrainz.org CountryCode=US