feat: add bulk add mode for download and watch

This commit is contained in:
Phlogi
2025-08-23 21:35:29 +02:00
parent a4bc9780e0
commit 2f11233ea1
5 changed files with 351 additions and 31 deletions

2
app.py
View File

@@ -241,6 +241,7 @@ def create_app():
from routes.content.album import router as album_router
from routes.content.track import router as track_router
from routes.content.playlist import router as playlist_router
from routes.content.bulk_add import router as bulk_add_router
from routes.content.artist import router as artist_router
from routes.system.progress import router as prgs_router
from routes.core.history import router as history_router
@@ -263,6 +264,7 @@ def create_app():
app.include_router(album_router, prefix="/api/album", tags=["album"])
app.include_router(track_router, prefix="/api/track", tags=["track"])
app.include_router(playlist_router, prefix="/api/playlist", tags=["playlist"])
app.include_router(bulk_add_router, prefix="/api/bulk", tags=["bulk"])
app.include_router(artist_router, prefix="/api/artist", tags=["artist"])
app.include_router(prgs_router, prefix="/api/prgs", tags=["progress"])
app.include_router(history_router, prefix="/api/history", tags=["history"])