commit remaining modified project files
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user