mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 20:22:01 -06:00
Manually burn-in subtitles only if no pre-burned video is available (#268)
This commit is contained in:
parent
14e71c05b8
commit
2c37093959
5 changed files with 88 additions and 14 deletions
|
|
@ -172,6 +172,10 @@ impl SingleFormat {
|
|||
pub fn is_episode(&self) -> bool {
|
||||
matches!(self.source, MediaCollection::Episode(_))
|
||||
}
|
||||
|
||||
pub fn is_special(&self) -> bool {
|
||||
self.sequence_number == 0.0 || self.sequence_number.fract() != 0.0
|
||||
}
|
||||
}
|
||||
|
||||
struct SingleFormatCollectionEpisodeKey(f32);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue