1.0.0048 - bug fix...?

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

@ -1,10 +1,10 @@
#!/usr/bin/env bash
scriptVersion="1.0.0047"
scriptVersion="1.0.0048"
lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)"
if [ "$lidarrUrlBase" = "null" ]; then
lidarrUrlBase=""
else
lidarrUrlBase="/${lidarrUrlBase}"
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}"

Loading…
Cancel
Save