From b675f11ac0ed5b04afe51321e16ffcf6139e9396 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Wed, 24 Aug 2022 15:02:52 -0400 Subject: [PATCH] 1.0.037 - Bug fix for user errors.... #57 --- root/scripts/video.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/root/scripts/video.sh b/root/scripts/video.sh index a92a35f..38c104e 100644 --- a/root/scripts/video.sh +++ b/root/scripts/video.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.0.036" +scriptVersion="1.0.037" if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" @@ -9,7 +9,8 @@ if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then lidarrUrlBase="/$(echo "$lidarrUrlBase" | sed "s/\///g")" fi lidarrApiKey="$(cat /config/config.xml | xq | jq -r .Config.ApiKey)" - lidarrUrl="http://127.0.0.1:8686${lidarrUrlBase}" + lidarrPort="$(cat /config/config.xml | xq | jq -r .Config.Port)" + lidarrUrl="http://127.0.0.1:${lidarrPort}${lidarrUrlBase}" fi agent="lidarr-extended ( https://github.com/RandomNinjaAtk/docker-lidarr-extended )"