vidformer 0.6.2__tar.gz → 0.6.3__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {vidformer-0.6.2 → vidformer-0.6.3}/PKG-INFO +1 -1
- {vidformer-0.6.2 → vidformer-0.6.3}/vidformer/__init__.py +1 -1
- {vidformer-0.6.2 → vidformer-0.6.3}/vidformer/vf.py +7 -1
- {vidformer-0.6.2 → vidformer-0.6.3}/README.md +0 -0
- {vidformer-0.6.2 → vidformer-0.6.3}/cv2-functions.md +0 -0
- {vidformer-0.6.2 → vidformer-0.6.3}/pyproject.toml +0 -0
- {vidformer-0.6.2 → vidformer-0.6.3}/vidformer/cv2/__init__.py +0 -0
- {vidformer-0.6.2 → vidformer-0.6.3}/vidformer/cv2/vf_cv2.py +0 -0
@@ -388,7 +388,7 @@ class YrdenServer:
|
|
388
388
|
A yrden server is the main API for local use of vidformer.
|
389
389
|
"""
|
390
390
|
|
391
|
-
def __init__(self, domain=None, port=None, bin=None):
|
391
|
+
def __init__(self, domain=None, port=None, bin=None, hls_prefix=None):
|
392
392
|
"""
|
393
393
|
Connect to a Yrden server
|
394
394
|
|
@@ -413,6 +413,12 @@ class YrdenServer:
|
|
413
413
|
# We need to print the URL in the notebook
|
414
414
|
# This is a trick to get VS Code to forward the port
|
415
415
|
cmd += ["--print-url"]
|
416
|
+
|
417
|
+
if hls_prefix is not None:
|
418
|
+
if not type(hls_prefix) == str:
|
419
|
+
raise Exception("hls_prefix must be a string")
|
420
|
+
cmd += ["--hls-prefix", hls_prefix]
|
421
|
+
|
416
422
|
self._proc = subprocess.Popen(cmd)
|
417
423
|
|
418
424
|
version = _check_hls_link_exists(f"http://{self._domain}:{self._port}/")
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|