added blueprint and restructured existing routes
This commit is contained in:
@@ -161,10 +161,11 @@ celery.set_default()
|
||||
|
||||
app.logger.info(f'Jellyplist {__version__}{read_dev_build_file()} started')
|
||||
app.logger.debug(f"Debug logging active")
|
||||
from app import routes
|
||||
app.register_blueprint(routes.pl_bp)
|
||||
|
||||
from app import jellyfin_routes, tasks
|
||||
from app.routes import pl_bp, routes, jellyfin_routes
|
||||
app.register_blueprint(pl_bp)
|
||||
|
||||
from . import tasks
|
||||
if "worker" in sys.argv:
|
||||
tasks.release_lock("download_missing_tracks_lock")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user