vidformer 0.6.2__py3-none-any.whl → 0.6.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
vidformer/__init__.py CHANGED
@@ -1,5 +1,5 @@
1
1
  """A Python library for creating and viewing videos with vidformer."""
2
2
 
3
- __version__ = "0.6.2"
3
+ __version__ = "0.6.3"
4
4
 
5
5
  from .vf import *
vidformer/vf.py CHANGED
@@ -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}/")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vidformer
3
- Version: 0.6.2
3
+ Version: 0.6.3
4
4
  Summary: A Python library for creating and viewing videos with vidformer.
5
5
  Author-email: Dominik Winecki <dominikwinecki@gmail.com>
6
6
  Requires-Python: >=3.8
@@ -0,0 +1,7 @@
1
+ vidformer/__init__.py,sha256=rPOYJ5lP3aakC8gCLNRO_UQMSB7Urw99GlmA_fgAHT4,113
2
+ vidformer/vf.py,sha256=GT7t4hFgqK-66m9ejVtdeeHmWnShG-lxENPfMhV9vcg,31284
3
+ vidformer/cv2/__init__.py,sha256=wOjDsYyUKlP_Hye8-tyz-msu9xwaPMpN2sGMu3Lh3-w,22
4
+ vidformer/cv2/vf_cv2.py,sha256=CO9LZ7FwOhrzNJ1eFjd9JddZm0PjY-XtOlKIYGB3iQQ,15486
5
+ vidformer-0.6.3.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
6
+ vidformer-0.6.3.dist-info/METADATA,sha256=I9uunnIKl0G3rmRfpEbillCpleuNDfslw7aX0rVd_eo,1487
7
+ vidformer-0.6.3.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- vidformer/__init__.py,sha256=JnJ5T-Afn8dZXAkwmq38cFzrnK4aZZZSFhHdUqVLdno,113
2
- vidformer/vf.py,sha256=0idKHOkWXC5bki1thrgihKQwJ91gDCzf96tl3Gm5vaA,31059
3
- vidformer/cv2/__init__.py,sha256=wOjDsYyUKlP_Hye8-tyz-msu9xwaPMpN2sGMu3Lh3-w,22
4
- vidformer/cv2/vf_cv2.py,sha256=CO9LZ7FwOhrzNJ1eFjd9JddZm0PjY-XtOlKIYGB3iQQ,15486
5
- vidformer-0.6.2.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
6
- vidformer-0.6.2.dist-info/METADATA,sha256=_jQnVbcd_OHAy57G7HXIijyXUOoR9Q8AzURvjn3ljDA,1487
7
- vidformer-0.6.2.dist-info/RECORD,,