We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c48ce4 commit af128b5Copy full SHA for af128b5
1 file changed
xseed.sh
@@ -85,12 +85,15 @@ detect_application() {
85
# shellcheck disable=SC2154 # These are set by Starr on call
86
folderPath="$sonarr_destinationpath"
87
else
88
- [ -z "$sonarr_release_releasetype" ] && {
+ if [ -z "$sonarr_release_releasetype" ] then; {
89
90
folderPath="$sonarr_episodefile_sourcefolder"
91
+ filePath="$sonarr_episodefile_path"
92
}
- # shellcheck disable=SC2154 # These are set by Starr on call
93
- filePath="$sonarr_episodefile_path"
+ else
94
+ # shellcheck disable=SC2154 # These are set by Starr on call
95
+ filePath="$sonarr_episodefile_paths"
96
+ fi
97
fi
98
99
eventType="$sonarr_eventtype"
0 commit comments