mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Prettify negated subtitle cc boolean
This commit is contained in:
parent
72c574c883
commit
173292ff32
3 changed files with 12 additions and 12 deletions
|
|
@ -400,7 +400,7 @@ async fn get_format(
|
|||
subtitles: subtitle.clone().map_or(vec![], |s| {
|
||||
vec![(
|
||||
s,
|
||||
single_format.audio == Locale::ja_JP || stream.subtitles.len() > 1,
|
||||
single_format.audio != Locale::ja_JP && stream.subtitles.len() == 1,
|
||||
)]
|
||||
}),
|
||||
metadata: DownloadFormatMetadata {
|
||||
|
|
@ -417,7 +417,7 @@ async fn get_format(
|
|||
subtitle.map_or(vec![], |s| {
|
||||
vec![(
|
||||
s,
|
||||
single_format.audio == Locale::ja_JP || stream.subtitles.len() > 1,
|
||||
single_format.audio != Locale::ja_JP && stream.subtitles.len() == 1,
|
||||
)]
|
||||
}),
|
||||
)]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue