Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Commit

Permalink
Embed chapters only to archive merge auto if --sync-start flag is set
Browse files Browse the repository at this point in the history
  • Loading branch information
bytedream committed Apr 9, 2024
1 parent 7c3f1fc commit 7dbb7be
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crunchy-cli-core/src/archive/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,11 @@ async fn get_format(
audios: vec![(audio, single_format.audio.clone())],
subtitles,
metadata: DownloadFormatMetadata {
skip_events: single_format.skip_events().await?,
skip_events: if archive.include_chapters {
single_format.skip_events().await?
} else {
None
},
},
},
));
Expand Down

0 comments on commit 7dbb7be

Please sign in to comment.