mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 04:02:00 -06:00
Move to new, DRM-free, endpoint
This commit is contained in:
parent
ba8028737d
commit
e694046b07
8 changed files with 245 additions and 331 deletions
|
|
@ -389,7 +389,7 @@ async fn get_format(
|
|||
.get(subtitle_locale)
|
||||
.cloned()
|
||||
// use closed captions as fallback if no actual subtitles are found
|
||||
.or_else(|| stream.closed_captions.get(subtitle_locale).cloned())
|
||||
.or_else(|| stream.captions.get(subtitle_locale).cloned())
|
||||
} else {
|
||||
None
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue