plexflow 0.0.76__py3-none-any.whl → 0.0.77__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.
@@ -7,17 +7,10 @@ class UniversalTorrents(PartialContext):
7
7
  def __init__(self, **kwargs) -> None:
8
8
  super().__init__(**kwargs)
9
9
 
10
- @property
11
- def sources(self) -> list[str]:
12
- keys = self.get_keys("universal/torrents/*")
13
- # extract the source from the key
14
- return [key.split("/")[-1] for key in keys]
15
-
16
- def from_source(self, source: str) -> List[UniversalTorrent]:
17
- return self.get(f"universal/torrents/{source}")
10
+ def all(self) -> List[UniversalTorrent]:
11
+ return self.get("universal/torrents")
18
12
 
19
13
  def update(self, torrents: List[UniversalTorrent]):
20
14
  if len(torrents) == 0:
21
15
  return
22
- source = next(iter(torrents)).source
23
- self.set(f"universal/torrents/{source}", torrents)
16
+ self.set(f"universal/torrents", torrents)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: plexflow
3
- Version: 0.0.76
3
+ Version: 0.0.77
4
4
  Summary: A short description of the package.
5
5
  License: MIT
6
6
  Keywords: keyword1,keyword2,keyword3
@@ -34,7 +34,7 @@ plexflow/core/context/partials/subtitles.py,sha256=Eax0rdGeTqEHkt9KNiyv097X3I1Dr
34
34
  plexflow/core/context/partials/tgx_batch.py,sha256=TduB09oBOQ8CtmPYsHIeNe7AI-ypKw21zQAX-7qktEs,859
35
35
  plexflow/core/context/partials/tgx_context.py,sha256=_FuhOvKsFqi_uynHxgC9_QIR2CfYmz-uJCRFtGFJmXI,1641
36
36
  plexflow/core/context/partials/torrents.py,sha256=U6tjdsH0qIPwe9b7XZ5ChNIos68WEKn9VgCQe0A8MQ0,772
37
- plexflow/core/context/partials/universal_torrents.py,sha256=YVykoSo61D_8_jLd6XgwWZ4Gy6sOzhIjTpJsyvPHxuE,846
37
+ plexflow/core/context/partials/universal_torrents.py,sha256=yohdSEhspSdvmrI6NeBB2Racb7yS2kz7qyFat6gNw6k,563
38
38
  plexflow/core/context/partials/watchlist.py,sha256=XL4H3AXHhyuhuImm3OBfrOmlc9rMvVhBJJGumQijM-c,1108
39
39
  plexflow/core/context/plexflow_context.py,sha256=_Le01owaf_0hW6BwMCvMKrKX0IRHyWGWGYTzxCWmdSE,904
40
40
  plexflow/core/context/plexflow_property.py,sha256=9eLjyHlfKKUhFo_zRwUIq_QaAGE6An4B8_HOxVJbeUo,1169
@@ -654,7 +654,7 @@ plexflow/utils/video/__pycache__/audio.cpython-312.pyc,sha256=vXBnJwWgTDFdixMBs-
654
654
  plexflow/utils/video/__pycache__/subtitle.cpython-312.pyc,sha256=PCjpCLydGXaRsQy6cikhgsEs8WlComfOoYPiLFqfVMA,2515
655
655
  plexflow/utils/video/audio.py,sha256=tJ_lNwcjVuBQYD5cYOlXpr__eh8-hnReIgNRgIYOpqo,3380
656
656
  plexflow/utils/video/subtitle.py,sha256=LOGONGxs_RzmqtGP-DBKreOzS1eUFEKo75Q6AfnavW0,1290
657
- plexflow-0.0.76.dist-info/METADATA,sha256=QEa4LdqmRplb7pYygd90qT3FkIIoq0vZDhdQI1D-X-w,2954
658
- plexflow-0.0.76.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
659
- plexflow-0.0.76.dist-info/entry_points.txt,sha256=aEqDHlozu_zjWrl2sibtrqtQHMgU8kSJZrE782CP47g,1362
660
- plexflow-0.0.76.dist-info/RECORD,,
657
+ plexflow-0.0.77.dist-info/METADATA,sha256=VYJFCP2O2N_XIXHFEAtzDYIyh5ZSVmo3b0cH_dtd120,2954
658
+ plexflow-0.0.77.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
659
+ plexflow-0.0.77.dist-info/entry_points.txt,sha256=aEqDHlozu_zjWrl2sibtrqtQHMgU8kSJZrE782CP47g,1362
660
+ plexflow-0.0.77.dist-info/RECORD,,