plexflow 0.0.102__py3-none-any.whl → 0.0.104__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.
- plexflow/utils/video/subtitle.py +1 -1
- {plexflow-0.0.102.dist-info → plexflow-0.0.104.dist-info}/METADATA +1 -1
- {plexflow-0.0.102.dist-info → plexflow-0.0.104.dist-info}/RECORD +5 -5
- {plexflow-0.0.102.dist-info → plexflow-0.0.104.dist-info}/WHEEL +0 -0
- {plexflow-0.0.102.dist-info → plexflow-0.0.104.dist-info}/entry_points.txt +0 -0
plexflow/utils/video/subtitle.py
CHANGED
@@ -29,7 +29,7 @@ def get_subtitles(video_path: str) -> List[SubtitleStream]:
|
|
29
29
|
subtitle_streams = []
|
30
30
|
for line in output.splitlines():
|
31
31
|
if "Stream #" in line and "Subtitle" in line:
|
32
|
-
index = int(line.split("#")[1].split(":")[
|
32
|
+
index = int(line.split("#")[1].split(":")[1].strip()[0])
|
33
33
|
language = line.split("(")[1].split(")")[0].strip()
|
34
34
|
subtitle_streams.append(SubtitleStream(index=index, language=language))
|
35
35
|
|
@@ -682,8 +682,8 @@ plexflow/utils/video/__pycache__/__init__.cpython-312.pyc,sha256=Kn1y-pxBX-xxS-z
|
|
682
682
|
plexflow/utils/video/__pycache__/audio.cpython-312.pyc,sha256=vXBnJwWgTDFdixMBs-QJeeejwXQJ4wnXuG6oYqbqaSk,4497
|
683
683
|
plexflow/utils/video/__pycache__/subtitle.cpython-312.pyc,sha256=PCjpCLydGXaRsQy6cikhgsEs8WlComfOoYPiLFqfVMA,2515
|
684
684
|
plexflow/utils/video/audio.py,sha256=tJ_lNwcjVuBQYD5cYOlXpr__eh8-hnReIgNRgIYOpqo,3380
|
685
|
-
plexflow/utils/video/subtitle.py,sha256=
|
686
|
-
plexflow-0.0.
|
687
|
-
plexflow-0.0.
|
688
|
-
plexflow-0.0.
|
689
|
-
plexflow-0.0.
|
685
|
+
plexflow/utils/video/subtitle.py,sha256=5OIrDpZyKRl-OH6iTmhp4wwx3Cr-8dSU9BOn5ivj9ec,1293
|
686
|
+
plexflow-0.0.104.dist-info/METADATA,sha256=FALHnVokxcJJ3VZ1NTksjvJDLCEmjMomLairgYDy2D0,3051
|
687
|
+
plexflow-0.0.104.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
688
|
+
plexflow-0.0.104.dist-info/entry_points.txt,sha256=uZc6ohXod3uudTgfeTqnkXBS4Cb7eajdjeqZc3P0PX4,1456
|
689
|
+
plexflow-0.0.104.dist-info/RECORD,,
|
File without changes
|
File without changes
|