Hivescan made continuously scanning, offer API, that mediahive can connect to and get realtime updates.

This commit is contained in:
2026-02-07 08:28:37 +00:00
parent daf4eb5e0c
commit e2962953f2
19 changed files with 2123 additions and 805 deletions
+2 -2
View File
@@ -31,7 +31,7 @@ def _check_node_version(node_path: str) -> None:
"""
try:
result = subprocess.run(
[node_path, "--version"], capture_output=True, text=True, check=True
[node_path, "--version"], capture_output=True, encoding="utf-8", check=True
)
version_str = result.stdout.strip()
# Parse version like "v20.10.0" or "v18.17.1"
@@ -43,7 +43,7 @@ def _check_node_version(node_path: str) -> None:
raise RuntimeError(
f"Node.js {version_str} found, but v20+ required (install with nvm)"
)
except (subprocess.CalledProcessError, FileNotFoundError, ValueError):
except subprocess.CalledProcessError, FileNotFoundError, ValueError:
pass
raise RuntimeError("Could not determine Node.js version")