Embed chapters only to archive merge auto if --sync-start flag is set

This commit is contained in:
bytedream 2024-04-09 18:59:41 +02:00
parent a73773ce1d
commit ea39dcbc71

View file

@ -585,7 +585,11 @@ async fn get_format(
audios: vec![(audio, single_format.audio.clone())], audios: vec![(audio, single_format.audio.clone())],
subtitles, subtitles,
metadata: DownloadFormatMetadata { metadata: DownloadFormatMetadata {
skip_events: single_format.skip_events().await?, skip_events: if archive.include_chapters {
single_format.skip_events().await?
} else {
None
},
}, },
}, },
)); ));