feat: Add format specification for m4b, mp4, and m4a files in metadata embedding

This commit is contained in:
JB
2025-10-07 10:40:42 -07:00
parent a51fd25271
commit 42334e92a4
+2
View File
@@ -517,6 +517,8 @@ def _embed_m4b_metadata(
command += ["-movflags", "+faststart+use_metadata_tags"]
temp_output = audio_path.with_suffix(audio_path.suffix + ".tmp")
if audio_path.suffix.lower() in {".m4b", ".mp4", ".m4a"}:
command += ["-f", "mp4"]
command.append(str(temp_output))
process = create_process(command, text=True)