Merge pull request #196 from Muxelmann/patch-2

Fixing `,000` issue with mp4chaps
This commit is contained in:
Krumpet Pirate 2022-01-21 17:15:56 -05:00 committed by GitHub
commit bee00b9c58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -955,6 +955,7 @@ do
else
"$FFPROBE" -i "${aax_file}" -print_format csv -show_chapters 2>/dev/null | awk -F "," '{printf "CHAPTER%d=%02d:%02d:%02.3f\nCHAPTER%dNAME=%s\n", NR, $5/60/60, $5/60%60, $5%60, NR, $8}' > "${output_directory}/${currentFileNameScheme}.chapters.txt"
fi
$SED -i 's/\,000/\.000/' "${output_directory}/${currentFileNameScheme}.chapters.txt"
mp4chaps -i "${output_file}"
fi
fi