Add playlist loading feature and integrate YouTube API for playlist generation
This commit is contained in:
parent
95969b897b
commit
094c5c104d
9 changed files with 230 additions and 39 deletions
|
@ -0,0 +1,3 @@
|
|||
from .celery import app as celery_app
|
||||
|
||||
__all__ = ("celery_app",)
|
11
musik/celery.py
Normal file
11
musik/celery.py
Normal 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()
|
Loading…
Add table
Add a link
Reference in a new issue