plexflow 0.0.100__py3-none-any.whl → 0.0.101__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.
@@ -1,5 +1,5 @@
1
1
  from plexflow.core.context.partial_context import PartialContext
2
- from typing import List
2
+ from typing import List, Tuple
3
3
  from qbittorrentapi.torrents import TorrentDictionary
4
4
 
5
5
  class MovieAssets(PartialContext):
@@ -15,8 +15,21 @@ class MovieAssets(PartialContext):
15
15
  def subtitle_paths(self) -> List[str]:
16
16
  return self.get("assets/subtitle/path")
17
17
 
18
+ def embedded_subtitles(self) -> List[Tuple[int,str]]:
19
+ return self.get("assets/embedded_subtitles")
20
+
21
+ def languaged_subtitle_paths(self) -> List[Tuple[str, str]]:
22
+ return self.get("assets/languaged_subtitle/path")
23
+
18
24
  def update_movie_path(self, path: str):
19
25
  self.set("assets/movie/path", path)
20
26
 
21
27
  def update_subtitle_paths(self, paths: List[str]):
22
28
  self.set("assets/subtitle/path", paths)
29
+
30
+ def update_embedded_subtitles(self, subtitles: List[Tuple[int, str]]):
31
+ self.set("assets/embedded_subtitles", subtitles)
32
+
33
+ def update_languaged_subtitle_paths(self, paths: List[Tuple[str,str]]):
34
+ self.set("assets/languaged_subtitle/path", paths)
35
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: plexflow
3
- Version: 0.0.100
3
+ Version: 0.0.101
4
4
  Summary: A short description of the package.
5
5
  License: MIT
6
6
  Keywords: keyword1,keyword2,keyword3
@@ -37,6 +37,7 @@ Requires-Dist: json-repair (>=0.19.1,<0.20.0)
37
37
  Requires-Dist: kafka (>=1.3.5,<2.0.0)
38
38
  Requires-Dist: langchain-groq (>=0.1.9,<0.2.0)
39
39
  Requires-Dist: langcodes (>=3.4.0,<4.0.0)
40
+ Requires-Dist: langdetect (>=1.0.9,<2.0.0)
40
41
  Requires-Dist: lxml (>=5.1.0,<6.0.0)
41
42
  Requires-Dist: mistralai (>=1.2.5,<2.0.0)
42
43
  Requires-Dist: numpy (==1.26.4)
@@ -30,7 +30,7 @@ plexflow/core/context/partials/completed_downloads.py,sha256=BM5apreKS9zeuFOT4Eq
30
30
  plexflow/core/context/partials/context.py,sha256=pFzpAFxwCJdqPuhXJqhs6j4Xyvf0GQtzPRMmL4fcjEA,314
31
31
  plexflow/core/context/partials/ids.py,sha256=QoQ6FbX1OIWrE-iuz-G6kSzBlTt1_I1jyfl2JgKge2o,913
32
32
  plexflow/core/context/partials/movie.py,sha256=VXQ2SspFgGSRgDefg4VlHrH2fns3KRuKlU72ps6527o,3861
33
- plexflow/core/context/partials/movie_assets.py,sha256=GcSOl2hkziI3zFPOG1LHTgE3hKLWjD4DFHEm5DqaYQ4,713
33
+ plexflow/core/context/partials/movie_assets.py,sha256=ZUgNpPDBDw_vjg3DcBP9OI2_zzbOh275GHkTBSuHbOc,1225
34
34
  plexflow/core/context/partials/reports.py,sha256=0W58RwK3VSsVHbF0rhvMNNlZZr01eutwermyvdeEZIs,810
35
35
  plexflow/core/context/partials/subtitles.py,sha256=Eax0rdGeTqEHkt9KNiyv097X3I1Drt9xb19VDalyA4Q,542
36
36
  plexflow/core/context/partials/tgx_batch.py,sha256=TduB09oBOQ8CtmPYsHIeNe7AI-ypKw21zQAX-7qktEs,859
@@ -683,7 +683,7 @@ plexflow/utils/video/__pycache__/audio.cpython-312.pyc,sha256=vXBnJwWgTDFdixMBs-
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
685
  plexflow/utils/video/subtitle.py,sha256=LOGONGxs_RzmqtGP-DBKreOzS1eUFEKo75Q6AfnavW0,1290
686
- plexflow-0.0.100.dist-info/METADATA,sha256=nL5AQBMRLPkFy_HV4ZX8Nfhczs1mhDJi7uNVFxOskD8,3008
687
- plexflow-0.0.100.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
688
- plexflow-0.0.100.dist-info/entry_points.txt,sha256=uZc6ohXod3uudTgfeTqnkXBS4Cb7eajdjeqZc3P0PX4,1456
689
- plexflow-0.0.100.dist-info/RECORD,,
686
+ plexflow-0.0.101.dist-info/METADATA,sha256=heAIRtUFJPc69zka7rKh2_mdxQv9t5kFV5yyj8CgSU4,3051
687
+ plexflow-0.0.101.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
688
+ plexflow-0.0.101.dist-info/entry_points.txt,sha256=uZc6ohXod3uudTgfeTqnkXBS4Cb7eajdjeqZc3P0PX4,1456
689
+ plexflow-0.0.101.dist-info/RECORD,,