Removing ffprobe thingy that crashes the renderer
This commit is contained in:
@@ -1489,7 +1489,10 @@ def _extract_outro_events(
|
||||
)
|
||||
if is_cached and cached_files is not None:
|
||||
cached_files.add(video_id)
|
||||
if video_path.exists():
|
||||
# Prefer the import-time duration from videos.json; only probe when absent.
|
||||
if video_source.duration is not None:
|
||||
full_duration = video_source.duration
|
||||
elif video_path.exists():
|
||||
full_duration = get_video_duration(video_path)
|
||||
else:
|
||||
full_duration = 10.0 # Fallback
|
||||
|
||||
Reference in New Issue
Block a user