1.0.3 - Fix Spacing when Release Year does not exist

#27
pull/49/head
RandomNinjaAtk 2 years ago committed by GitHub
parent b7f7a2626f
commit a1c33aaf78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,5 @@
#!/usr/bin/env bash
scriptVersion="1.0.2"
scriptVersion="1.0.3"
if [ -z "$arrUrl" ] || [ -z "$arrApiKey" ]; then
arrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)"
@ -35,7 +35,7 @@ updateArr=$(curl -s "$arrUrl/api/v3/config/naming" -X PUT -H "Content-Type: appl
\"replaceIllegalCharacters\":true,
\"colonReplacementFormat\":\"delete\",
\"standardMovieFormat\":\"$movieNaming\",
\"movieFolderFormat\":\"{Movie CleanTitle} {(Release Year)}\",
\"movieFolderFormat\":\"{Movie CleanTitle}{ (Release Year)}\",
\"includeQuality\":false,
\"replaceSpaces\":false,
\"id\":1

Loading…
Cancel
Save