MCPcopy Create free account
hub / github.com/stemdeckapp/stemdeck / get_video_max_height

Function get_video_max_height

app/core/settings.py:111–114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

109
110# ── video_max_height ──
111def get_video_max_height() -> int:
112 with _LOCK:
113 v = _num(_ensure().get("video_max_height"))
114 return max(_HEIGHT_MIN, min(_HEIGHT_MAX, v)) if v is not None else VIDEO_MAX_HEIGHT
115
116
117def set_video_max_height(value: int) -> int:

Callers 2

_settings_payloadFunction · 0.90
_download_video_trackFunction · 0.90

Calls 2

_numFunction · 0.85
_ensureFunction · 0.85

Tested by

no test coverage detected