From 01404ba986ac6fd1b4f247006d79ebdb1463b9b1 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Thu, 13 Jul 2023 06:57:47 -0400 Subject: [PATCH] v1.3 - Add fallback downloadpath if its not set. --- lidarr/Audio.service.bash | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lidarr/Audio.service.bash b/lidarr/Audio.service.bash index 3b015e7..298ee7f 100644 --- a/lidarr/Audio.service.bash +++ b/lidarr/Audio.service.bash @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.2" +scriptVersion="1.3" scriptName="Audio" #### Import Settings @@ -16,6 +16,9 @@ if [ "$enableAudio" != "true" ]; then sleep infinity fi +if [ -z "$downloadPath" ]; then + downloadPath="/config/extended/downloads" +fi getArrAppInfo () { # Get Arr App information