diff --git a/src/models/player.rs b/src/models/player.rs index 4c87a7851..dbc0768af 100644 --- a/src/models/player.rs +++ b/src/models/player.rs @@ -722,6 +722,7 @@ impl UpdateWithCtx for Player { Effects::none().unchanged() }; + // loads next streams for the first time let next_streams_effects = match self.next_streams.as_mut() { Some(next_streams) if request.path.resource == STREAM_RESOURCE_NAME => { resource_update_with_vector_content::( @@ -741,6 +742,7 @@ impl UpdateWithCtx for Player { ); let next_streams_effects = next_streams_effects.join(next_streams_update::( + // let next_streams_effects = next_streams_update::( &mut self.next_streams, &self.next_video, &self.selected, @@ -847,6 +849,7 @@ fn push_to_library( library_item: &mut LibraryItem, ) -> Effects { if E::now() - *push_library_item_time >= *PUSH_TO_LIBRARY_EVERY { + tracing::debug!("Push library item to UpdateLibraryItem"); *push_library_item_time = E::now(); Effects::msg(Msg::Internal(Internal::UpdateLibraryItem( @@ -911,7 +914,7 @@ fn stream_state_update( fn next_video_update( video: &mut Option