mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Add --special-output and --skip-specials flag
This commit is contained in:
parent
5a3a304443
commit
787d8ab02c
5 changed files with 106 additions and 10 deletions
|
|
@ -473,6 +473,10 @@ impl Format {
|
|||
tab_info!("FPS: {:.2}", self.fps)
|
||||
}
|
||||
|
||||
pub fn is_special(&self) -> bool {
|
||||
self.sequence_number == 0.0 || self.sequence_number.fract() != 0.0
|
||||
}
|
||||
|
||||
pub fn has_relative_fmt<S: AsRef<str>>(s: S) -> bool {
|
||||
return s.as_ref().contains("{relative_episode_number}")
|
||||
|| s.as_ref().contains("{relative_sequence_number}");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue