fix: streamline initialization flow after setup
- Remove nfo_scan and media_scan from loading page steps (no longer shown in UI) - Remove perform_nfo_scan_if_needed calls from fastapi_app and auth.py - Always redirect to /setup/unresolved after initialization completes instead of conditionally checking for unresolved folders - Fix middleware to allow access to /loading page - let it handle its own redirect flow via WebSocket events This ensures users always reach the unresolved folders page after initial setup to manually configure any unmatched anime series.
This commit is contained in:
@@ -344,7 +344,6 @@ async def lifespan(_application: FastAPI):
|
||||
from src.server.services.initialization_service import (
|
||||
perform_initial_setup,
|
||||
perform_media_scan_if_needed,
|
||||
perform_nfo_scan_if_needed,
|
||||
)
|
||||
|
||||
try:
|
||||
@@ -373,9 +372,6 @@ async def lifespan(_application: FastAPI):
|
||||
"exist yet): %s", e
|
||||
)
|
||||
|
||||
# Run NFO scan only on first run (if configured)
|
||||
await perform_nfo_scan_if_needed()
|
||||
|
||||
# Initialize download service
|
||||
try:
|
||||
from src.server.utils.dependencies import get_download_service
|
||||
|
||||
Reference in New Issue
Block a user