mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 20:22:01 -06:00
Archive subtitles of all versions of an episode
This commit is contained in:
parent
892407d1f0
commit
06fd9a7a98
3 changed files with 82 additions and 25 deletions
|
|
@ -6,3 +6,4 @@ pub mod log;
|
|||
pub mod os;
|
||||
pub mod parse;
|
||||
pub mod sort;
|
||||
pub mod subtitle;
|
||||
|
|
|
|||
11
crunchy-cli-core/src/utils/subtitle.rs
Normal file
11
crunchy-cli-core/src/utils/subtitle.rs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
use crunchyroll_rs::media::StreamSubtitle;
|
||||
use crunchyroll_rs::Locale;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct Subtitle {
|
||||
pub stream_subtitle: StreamSubtitle,
|
||||
pub audio_locale: Locale,
|
||||
pub episode_id: String,
|
||||
pub forced: bool,
|
||||
pub primary: bool,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue