Catchup play fix

This commit is contained in:
euzu
2025-06-06 11:17:42 +02:00
parent b9f65b61a7
commit 0192d7b6a6
5 changed files with 7 additions and 5 deletions
+1 -3
View File
@@ -633,9 +633,7 @@ pub async fn stream_response(app_state: &AppState,
if let Some(provider) = provider_name {
if matches!(item_type, PlaylistItemType::LiveHls | PlaylistItemType::LiveDash | PlaylistItemType::Video | PlaylistItemType::Series | PlaylistItemType::Catchup) {
if let Some(token) = app_state.active_users.create_user_session(user, session_token, virtual_id, &provider, &session_url, connection_permission).await {
debug!("Creating session for user {} with token {token} {session_url}", user.username);
}
let _ = app_state.active_users.create_user_session(user, session_token, virtual_id, &provider, &session_url, connection_permission).await;
}
}