Skip to content

Commit

Permalink
Test fix for #37
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCaptain989 authored Dec 8, 2022
1 parent 48d4db8 commit 1604d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/usr/local/bin/flac2mp3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ elif [ -f "$flac2mp3_config" ]; then
[ $flac2mp3_debug -ge 2 ] && echo "API returned: $flac2mp3_result" | awk '{print "Debug|"$0}' | log
flac2mp3_recyclebin="$(echo $flac2mp3_result | jq -crM .recycleBin)"
# Test for trailing backslash
[ "${flac2mp3_recyclebin: -1:1}" != "/" ] && flac2mp3_recyclebin="${flac2mp3_recyclebin}/"
[ ${#flac2mp3_recyclebin} -ne 0 -a "${flac2mp3_recyclebin: -1:1}" != "/" ] && flac2mp3_recyclebin="${flac2mp3_recyclebin}/"
[ $flac2mp3_debug -ge 1 ] && echo "Debug|Detected Lidarr RecycleBin '$flac2mp3_recyclebin'" | log

# Get root folder path from Artist info
Expand Down

0 comments on commit 1604d2e

Please sign in to comment.