updates
Build and Push Docker Images / build-and-push (push) Successful in 22s

This commit is contained in:
2026-02-11 23:11:41 +01:00
parent 016e0cee0c
commit e92ccd757a
3 changed files with 52 additions and 27 deletions
+2 -3
View File
@@ -118,10 +118,9 @@ def get_duration(path: Path) -> float:
)
if out.returncode == 0 and out.stdout.strip():
d = float(out.stdout.strip())
logger.debug("ffprobe %s -> %.0fs in %.2fs", path.name, d, time.monotonic() - t0)
return d
except (subprocess.TimeoutExpired, ValueError, FileNotFoundError) as e:
logger.debug("ffprobe %s failed: %s", path.name, e)
except (subprocess.TimeoutExpired, ValueError, FileNotFoundError):
pass
return DEFAULT_DURATION_SEC