Debugvar chapter, restored chapter number format

This commit is contained in:
fabh2o 2021-02-07 10:26:29 +01:00
parent 1afa763999
commit d199d875bb

View File

@ -626,7 +626,7 @@ do
fi fi
# Big Long chapter debug # Big Long chapter debug
debug_vars "Chapter Variables:" cover_file chapter_start chapter_end id3_version_param chapternum chapter_title chapter_file debug_vars "Chapter Variables:" cover_file chapter_start chapter_end id3_version_param chapternum chapter chapter_title chapter_file
if [ "$((${continueAt} > ${chapternum}))" = "0" ]; then if [ "$((${continueAt} > ${chapternum}))" = "0" ]; then
# Extract chapter by time stamps start and finish of chapter. # Extract chapter by time stamps start and finish of chapter.
# This extracts based on time stamps start and end. # This extracts based on time stamps start and end.
@ -648,7 +648,7 @@ do
-metadata track="${chapternum}" \ -metadata track="${chapternum}" \
-metadata title="${chapter}" \ -metadata title="${chapter}" \
-metadata:s:a title="${chapter}" \ -metadata:s:a title="${chapter}" \
-metadata:s:a track="${chapternum}/${chaptercount}" \ -metadata:s:a track="${chapternum}" \
-map_chapters -1 \ -map_chapters -1 \
-f ${container} \ -f ${container} \
"${chapter_file}" "${chapter_file}"