Archive subtitles of all versions of an episode

This commit is contained in:
Hannes Braun 2023-01-04 22:09:31 +01:00
parent 892407d1f0
commit 06fd9a7a98
No known key found for this signature in database
GPG key ID: 7B6557E1DFD685BE
3 changed files with 82 additions and 25 deletions

View file

@ -6,3 +6,4 @@ pub mod log;
pub mod os;
pub mod parse;
pub mod sort;
pub mod subtitle;

View 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,
}