fix: disable startup media scan
Skip incomplete series check on server startup to reduce startup time. Can be re-enabled by restoring _check_media_scan_status().
This commit is contained in:
@@ -544,10 +544,9 @@ async def _check_media_scan_status() -> bool:
|
||||
Returns:
|
||||
bool: True if media scan was completed, False otherwise
|
||||
"""
|
||||
return await _check_scan_status(
|
||||
check_method=lambda svc, db: svc.is_initial_media_scan_completed(db),
|
||||
scan_type="media"
|
||||
)
|
||||
# DISABLED: Always return True to skip startup scan
|
||||
# To re-enable, change to: return await _check_scan_status(...)
|
||||
return True
|
||||
|
||||
|
||||
async def _mark_media_scan_completed() -> None:
|
||||
|
||||
Reference in New Issue
Block a user