commit remaining modified project files

This commit is contained in:
windyboy
2026-04-07 08:07:18 +08:00
parent d010cf936c
commit fb128c70d6
28 changed files with 4140 additions and 19643 deletions
+9
View File
@@ -65,6 +65,15 @@ def scan_library(
logger.error(f"Library root is not a directory: {root}")
return []
if include_video_metadata:
import shutil
if not shutil.which("ffprobe"):
logger.warning(
"ffprobe command not found in PATH. Video metadata extraction will be skipped. "
"Only file-level information (size, mtime) will be recorded."
)
include_video_metadata = False
video_files = []
file_count = 0
discovered_paths = _discover_video_paths(root, config.video_extensions)