add android/ios client, add cache
This commit is contained in:
parent
edf2252174
commit
d7caceba7a
8 changed files with 4496 additions and 1756 deletions
|
|
@ -171,7 +171,6 @@ pub struct Captions {
|
|||
#[serde(rename_all = "camelCase")]
|
||||
pub struct PlayerCaptionsTracklistRenderer {
|
||||
pub caption_tracks: Vec<CaptionTrack>,
|
||||
pub translation_languages: Vec<TranslationLanguage>,
|
||||
}
|
||||
|
||||
#[serde_as]
|
||||
|
|
@ -184,15 +183,6 @@ pub struct CaptionTrack {
|
|||
pub language_code: String,
|
||||
}
|
||||
|
||||
#[serde_as]
|
||||
#[derive(Clone, Debug, Deserialize)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct TranslationLanguage {
|
||||
pub language_code: String,
|
||||
#[serde_as(as = "crate::serializer::text::Text")]
|
||||
pub language_name: String
|
||||
}
|
||||
|
||||
#[serde_as]
|
||||
#[derive(Clone, Debug, Deserialize)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
|
|
|
|||
Reference in a new issue