From ae4d1b87e89910f00615ee433be96cab1896d3b9 Mon Sep 17 00:00:00 2001 From: Tim Date: Wed, 7 Feb 2024 11:09:10 +0100 Subject: [PATCH] fix(serialize_player): typo --- src/model/serialize_player.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/model/serialize_player.rs b/src/model/serialize_player.rs index 1bfcd5f..da9181f 100644 --- a/src/model/serialize_player.rs +++ b/src/model/serialize_player.rs @@ -101,7 +101,7 @@ mod model { pub library_item: Option>, pub stream_state: Option<&'a StreamItemState>, #[serde(skip_serializing_if = "Option::is_none")] - pub into_outro: Option<&'a stremio_core::types::player::IntroOutro>, + pub intro_outro: Option<&'a stremio_core::types::player::IntroOutro>, pub title: Option, pub addon: Option>, } @@ -245,7 +245,7 @@ pub fn serialize_player(player: &Player, ctx: &Ctx, streaming_server: &Streaming }, }), stream_state: player.stream_state.as_ref(), - into_outro: player.intro_outro.as_ref(), + intro_outro: player.intro_outro.as_ref(), title: player.selected.as_ref().and_then(|selected| { player .meta_item