1.0.299 - Bug fix for logging output

pull/139/head
RandomNinjaAtk 2 years ago committed by GitHub
parent 0658a5fd8f
commit d0289ecaa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,5 @@
#!/usr/bin/env bash
scriptVersion="1.0.298"
scriptVersion="1.0.299"
if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then
lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)"
if [ "$lidarrUrlBase" == "null" ]; then
@ -130,11 +130,13 @@ Configuration () {
log "Output format: $audioFormat"
if [ "$audioFormat" != "native" ]; then
if [ "$audioFormat" == "alac" ]; then
audioBitrateText="LOSSLESS"
else
audioBitrateText="${audioBitrate}k"
fi
fi
log "Output bitrate: $audioBitrateText"

Loading…
Cancel
Save