Change cover.jpg to $currentFileNameScheme.jpg

This change allow multiple covers of different audiobooks in the same target directory.
This commit is contained in:
-_- 2022-10-17 16:54:21 +02:00 committed by GitHub
parent 1544a89249
commit 2a5a208a2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -789,7 +789,7 @@ do
# ----- # -----
fi fi
# Grab the cover art if available. # Grab the cover art if available.
cover_file="${output_directory}/cover.jpg" cover_file="${output_directory}/${currentFileNameScheme}.jpg"
if [ "${continue}" == "0" ]; then if [ "${continue}" == "0" ]; then
if [ "${audibleCli}" == "1" ]; then if [ "${audibleCli}" == "1" ]; then
# We have a better quality cover file, copy it. # We have a better quality cover file, copy it.