Resolve "With rename pattern, destination files can have "//" in DB if tags missing"

This commit is contained in:
Vincent Riquer 2025-01-31 01:16:50 +00:00
parent 68162e8b95
commit 8c054e6025

View File

@ -86,7 +86,8 @@ getDestDir() {
echo "$thispart" >&${toascii[1]}
read -r -u${toascii[0]} thispart
fi
destdir+="/$(sanitizeFile "$thispart" dir)"
sanitized="$(sanitizeFile "$thispart" dir)"
destdir+="${sanitized:+/}$sanitized"
part=${part#*/}
done
fi