plexflow 0.0.73__py3-none-any.whl → 0.0.74__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/core/context/partials/__init__.py +1 -0
- plexflow/core/context/partials/subtitles.py +16 -0
- {plexflow-0.0.73.dist-info → plexflow-0.0.74.dist-info}/METADATA +1 -1
- {plexflow-0.0.73.dist-info → plexflow-0.0.74.dist-info}/RECORD +6 -5
- {plexflow-0.0.73.dist-info → plexflow-0.0.74.dist-info}/WHEEL +0 -0
- {plexflow-0.0.73.dist-info → plexflow-0.0.74.dist-info}/entry_points.txt +0 -0
@@ -7,3 +7,4 @@ from plexflow.core.context.partials.torrents import Torrents
|
|
7
7
|
from plexflow.core.context.partials.tgx_context import TgxRequestContext
|
8
8
|
from plexflow.core.context.partials.tgx_batch import TgxBatch
|
9
9
|
from plexflow.core.context.partials.reports import TorrentAnalysisReports
|
10
|
+
from plexflow.core.context.partials.subtitles import Subtitles
|
@@ -0,0 +1,16 @@
|
|
1
|
+
from plexflow.core.context.partial_context import PartialContext
|
2
|
+
from datetime import datetime as dt
|
3
|
+
from plexflow.core.subtitles.providers.oss.oss_subtitle import OSSSubtitle
|
4
|
+
from typing import List
|
5
|
+
|
6
|
+
class Subtitles(PartialContext):
|
7
|
+
def __init__(self, **kwargs) -> None:
|
8
|
+
super().__init__(**kwargs)
|
9
|
+
|
10
|
+
def all(self) -> List[OSSSubtitle]:
|
11
|
+
return self.get("subtitles/oss")
|
12
|
+
|
13
|
+
def update(self, subtitles: List[OSSSubtitle]):
|
14
|
+
if len(subtitles) == 0:
|
15
|
+
return
|
16
|
+
self.set("subtitles/oss", subtitles)
|
@@ -20,7 +20,7 @@ plexflow/core/context/metadata/tmdb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQ
|
|
20
20
|
plexflow/core/context/metadata/tmdb/__pycache__/context.cpython-311.pyc,sha256=dcvTi-0PnZfbLfsLu5QuX_jpAeQYmZR7ZbjzQMHQov4,2627
|
21
21
|
plexflow/core/context/metadata/tmdb/context.py,sha256=zlI_Zs_1bAdR60xtl4j2_UBhIery1VcsQz2a53l5g20,1521
|
22
22
|
plexflow/core/context/partial_context.py,sha256=Ptad0ZLRgE0FPIJlYzPIGCtrOlxU1mJzScaXzENlgY8,2010
|
23
|
-
plexflow/core/context/partials/__init__.py,sha256=
|
23
|
+
plexflow/core/context/partials/__init__.py,sha256=RJP27rewrn4uKsanH3LSDb4dxg0p10D7uRfdJshXvSc,619
|
24
24
|
plexflow/core/context/partials/__pycache__/__init__.cpython-311.pyc,sha256=x_5HUdt-0vrq9LMmc8Vj0usxqQ_ZHD4WZd4HrvhwAZc,346
|
25
25
|
plexflow/core/context/partials/__pycache__/ids.cpython-311.pyc,sha256=wV7r4FAwonAshns-NGcowqGamtrM_Q_2NbiHQhOLkjg,2638
|
26
26
|
plexflow/core/context/partials/__pycache__/watchlist.cpython-311.pyc,sha256=k-0BM-AvH-zObpwY0XR8CYrT21kPEa0fmeBmf0wscE0,1466
|
@@ -29,6 +29,7 @@ plexflow/core/context/partials/context.py,sha256=pFzpAFxwCJdqPuhXJqhs6j4Xyvf0GQt
|
|
29
29
|
plexflow/core/context/partials/ids.py,sha256=QoQ6FbX1OIWrE-iuz-G6kSzBlTt1_I1jyfl2JgKge2o,913
|
30
30
|
plexflow/core/context/partials/movie.py,sha256=VXQ2SspFgGSRgDefg4VlHrH2fns3KRuKlU72ps6527o,3861
|
31
31
|
plexflow/core/context/partials/reports.py,sha256=0W58RwK3VSsVHbF0rhvMNNlZZr01eutwermyvdeEZIs,810
|
32
|
+
plexflow/core/context/partials/subtitles.py,sha256=Eax0rdGeTqEHkt9KNiyv097X3I1Drt9xb19VDalyA4Q,542
|
32
33
|
plexflow/core/context/partials/tgx_batch.py,sha256=TduB09oBOQ8CtmPYsHIeNe7AI-ypKw21zQAX-7qktEs,859
|
33
34
|
plexflow/core/context/partials/tgx_context.py,sha256=_FuhOvKsFqi_uynHxgC9_QIR2CfYmz-uJCRFtGFJmXI,1641
|
34
35
|
plexflow/core/context/partials/torrents.py,sha256=U6tjdsH0qIPwe9b7XZ5ChNIos68WEKn9VgCQe0A8MQ0,772
|
@@ -643,7 +644,7 @@ plexflow/utils/video/__pycache__/audio.cpython-312.pyc,sha256=vXBnJwWgTDFdixMBs-
|
|
643
644
|
plexflow/utils/video/__pycache__/subtitle.cpython-312.pyc,sha256=PCjpCLydGXaRsQy6cikhgsEs8WlComfOoYPiLFqfVMA,2515
|
644
645
|
plexflow/utils/video/audio.py,sha256=tJ_lNwcjVuBQYD5cYOlXpr__eh8-hnReIgNRgIYOpqo,3380
|
645
646
|
plexflow/utils/video/subtitle.py,sha256=LOGONGxs_RzmqtGP-DBKreOzS1eUFEKo75Q6AfnavW0,1290
|
646
|
-
plexflow-0.0.
|
647
|
-
plexflow-0.0.
|
648
|
-
plexflow-0.0.
|
649
|
-
plexflow-0.0.
|
647
|
+
plexflow-0.0.74.dist-info/METADATA,sha256=hKPMZVSCZ8bGQFm0-_8YL-IRh5Od5b4L3_CXg38bbyw,2954
|
648
|
+
plexflow-0.0.74.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
649
|
+
plexflow-0.0.74.dist-info/entry_points.txt,sha256=A-_w_iUmjrSgDtOcX-G5H3NboAAZNzwiFoQbBf4bVjg,1302
|
650
|
+
plexflow-0.0.74.dist-info/RECORD,,
|
File without changes
|
File without changes
|