Skip to content

Commit be7ccfb

Browse files
authored
Merge pull request #678 from jmt-gh/issue_676_chapter_metadata
Support embedding updated chapter metadata (issue #676)
2 parents 938a8c6 + ab0094a commit be7ccfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/managers/AudioMetadataManager.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class AudioMetadataMangaer {
8484
Ffmpeg premapped id3 tags: https://wiki.multimedia.cx/index.php/FFmpeg_Metadata
8585
*/
8686

87-
const ffmpegOptions = ['-c copy', '-map_metadata 1', `-metadata track=${audioFile.index}`, '-write_id3v2 1', '-movflags use_metadata_tags']
87+
const ffmpegOptions = ['-c copy', '-map_chapters 1', '-map_metadata 1', `-metadata track=${audioFile.index}`, '-write_id3v2 1', '-movflags use_metadata_tags']
8888
var workerData = {
8989
inputs: ffmpegInputs,
9090
options: ffmpegOptions,
@@ -137,4 +137,4 @@ class AudioMetadataMangaer {
137137
})
138138
}
139139
}
140-
module.exports = AudioMetadataMangaer
140+
module.exports = AudioMetadataMangaer

0 commit comments

Comments
 (0)