FEAT: End any ongoing stream before a user logs out;

UPDATE: Remove assignments to session after registering a new user;
UPDATE: Create directories for user upon logging in in case they do not exist yet;
This commit is contained in:
Chris-1010
2025-03-03 01:55:01 +00:00
parent c7d443d8b6
commit 04d99928aa
2 changed files with 24 additions and 8 deletions

View File

@@ -94,7 +94,7 @@ def get_highest_view_categories(no_categories: int = 4, offset: int = 0) -> Opti
""", (no_categories, offset))
return categories
def get_user_category_recommendations(user_id: 1, no_categories: int = 4) -> Optional[List[dict]]:
def get_user_category_recommendations(user_id = 1, no_categories: int = 4) -> Optional[List[dict]]:
"""
Queries user_preferences database to find users top favourite streaming category and returns the category
"""