mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 04:02:00 -06:00
Remove chapters if sync doesn't work
This commit is contained in:
parent
9e5feef4d4
commit
0257fdea0d
1 changed files with 7 additions and 1 deletions
|
|
@ -392,7 +392,13 @@ impl Downloader {
|
||||||
(*o as f64 / self.formats[0].video.0.fps().unwrap() * 1000.0) as i64,
|
(*o as f64 / self.formats[0].video.0.fps().unwrap() * 1000.0) as i64,
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
} else if !offset_pre_checked {
|
} else {
|
||||||
|
for format in &mut self.formats {
|
||||||
|
format.metadata.skip_events = None
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if !offset_pre_checked {
|
||||||
warn!("Couldn't find reliable sync positions")
|
warn!("Couldn't find reliable sync positions")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue