diff --git a/src/models/player.rs b/src/models/player.rs index 30f59adb7..540ebeb90 100644 --- a/src/models/player.rs +++ b/src/models/player.rs @@ -10,7 +10,7 @@ use crate::models::common::{ use crate::models::ctx::Ctx; use crate::runtime::msg::{Action, ActionLoad, ActionPlayer, Event, Internal, Msg}; use crate::runtime::{Effects, Env, UpdateWithCtx}; -use crate::types::addon::{AggrRequest, ExtraExt, ResourcePath, ResourceRequest}; +use crate::types::addon::{AggrRequest, Descriptor, ExtraExt, ResourcePath, ResourceRequest}; use crate::types::library::{LibraryBucket, LibraryItem}; use crate::types::profile::Settings as ProfileSettings; use crate::types::resource::{MetaItem, SeriesInfo, Stream, Subtitles, Video}; @@ -69,7 +69,6 @@ pub struct Selected { /// A request to fetch the selected [`MetaItem`]. pub meta_request: Option, pub subtitles_path: Option, - pub video_params: Option, } #[derive(Clone, Derivative, Serialize, Debug)] @@ -77,6 +76,7 @@ pub struct Selected { #[serde(rename_all = "camelCase")] pub struct Player { pub selected: Option, + pub video_params: Option, pub meta_item: Option>, pub subtitles: Vec>>, pub next_video: Option