@@ -163,4 +163,10 @@ app.logger.debug(f"Debug logging active")
|
||||
from app import routes
|
||||
from app import jellyfin_routes, tasks
|
||||
if "worker" in sys.argv:
|
||||
tasks.release_lock("download_missing_tracks_lock")
|
||||
tasks.release_lock("download_missing_tracks_lock")
|
||||
|
||||
from app import filters # Import the filters dictionary
|
||||
|
||||
# Register all filters
|
||||
for name, func in filters.filters.items():
|
||||
app.jinja_env.filters[name] = func
|
||||
Reference in New Issue
Block a user