REFACTOR: Moved streaming tasks to dedicated folder and updated refs

This commit is contained in:
2025-02-28 19:38:03 +00:00
parent 077530b6e6
commit 6f449eea4e
3 changed files with 72 additions and 58 deletions

View File

@@ -5,7 +5,7 @@ from utils.user_utils import get_user_id
from blueprints.middleware import login_required
from database.database import Database
from datetime import datetime
from celery_tasks import update_thumbnail, combine_ts_stream
from celery_tasks.streaming import update_thumbnail, combine_ts_stream
from dateutil import parser
from utils.path_manager import PathManager
import json
@@ -205,7 +205,6 @@ def publish_stream():
periodically update thumbnail
"""
try:
data = json.loads(request.form.get("data"))
except json.JSONDecodeError as ex: