Add playlist loading feature and integrate YouTube API for playlist generation

This commit is contained in:
Edgar P. Burkhart 2025-06-14 11:49:04 +02:00
parent 95969b897b
commit 094c5c104d
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
9 changed files with 230 additions and 39 deletions

View file

@ -0,0 +1,3 @@
from .celery import app as celery_app
__all__ = ("celery_app",)

11
musik/celery.py Normal file
View file

@ -0,0 +1,11 @@
import os
from celery import Celery
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "musik.settings")
app = Celery("musik")
app.config_from_object("django.conf:settings", namespace="CELERY")
app.autodiscover_tasks()