add subtitle mapping

This commit is contained in:
ThetaDev 2022-08-02 21:44:32 +02:00
parent 0b10e67ff5
commit 77675209d5
7 changed files with 50 additions and 8 deletions

View file

@ -104,7 +104,8 @@ pub struct Thumbnail {
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq)]
pub struct Subtitle {
pub url: String,
pub locale: Locale,
pub lang: String,
pub lang_name: String,
pub auto_generated: bool,
}