Manually burn-in subtitles only if no pre-burned video is available (#268)

This commit is contained in:
bytedream 2023-11-19 19:24:15 +01:00
parent 14e71c05b8
commit 2c37093959
5 changed files with 88 additions and 14 deletions

View file

@ -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);