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 committed by Vincent Riquer
parent 8e689bd1c1
commit 63b94763ae

View File

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