plexflow 0.0.97__py3-none-any.whl → 0.0.98__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.
@@ -10,3 +10,4 @@ from plexflow.core.context.partials.reports import TorrentAnalysisReports
10
10
  from plexflow.core.context.partials.subtitles import Subtitles
11
11
  from plexflow.core.context.partials.universal_torrents import UniversalTorrents
12
12
  from plexflow.core.context.partials.candidates import Candidates
13
+ from plexflow.core.context.partials.completed_downloads import CompletedDownloads
@@ -0,0 +1,15 @@
1
+ from plexflow.core.context.partial_context import PartialContext
2
+ from typing import List
3
+ from qbittorrentapi.torrents import TorrentDictionary
4
+
5
+ class CompletedDownloads(PartialContext):
6
+ def __init__(self, **kwargs) -> None:
7
+ super().__init__(**kwargs)
8
+
9
+ def all(self) -> List[TorrentDictionary]:
10
+ return self.get("download/completed")
11
+
12
+ def update(self, downloads: List[TorrentDictionary]):
13
+ if len(downloads) == 0:
14
+ return
15
+ self.set("download/completed", downloads)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: plexflow
3
- Version: 0.0.97
3
+ Version: 0.0.98
4
4
  Summary: A short description of the package.
5
5
  License: MIT
6
6
  Keywords: keyword1,keyword2,keyword3
@@ -20,12 +20,13 @@ 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=oLSaTaAGejMIB1DtBg8xaXUbA3qK43zv48-k0HWxhjI,764
23
+ plexflow/core/context/partials/__init__.py,sha256=6Kr73gP33JOtopWEOK2I1brStbD_1qdB25c7hWVJK9I,846
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
27
27
  plexflow/core/context/partials/cache.py,sha256=1QQ6yP69wqJiacuc2idhHsXpyUUCqavqgLk25wQB_tI,508
28
28
  plexflow/core/context/partials/candidates.py,sha256=TnAPeSEolchQ3znT40xKjEQfeCl9qAMLFThWaeT46JY,1033
29
+ plexflow/core/context/partials/completed_downloads.py,sha256=18QO2BVFbFarqP0JYJeeuCc4j60maTf5DvIYmqQUb-U,516
29
30
  plexflow/core/context/partials/context.py,sha256=pFzpAFxwCJdqPuhXJqhs6j4Xyvf0GQtzPRMmL4fcjEA,314
30
31
  plexflow/core/context/partials/ids.py,sha256=QoQ6FbX1OIWrE-iuz-G6kSzBlTt1_I1jyfl2JgKge2o,913
31
32
  plexflow/core/context/partials/movie.py,sha256=VXQ2SspFgGSRgDefg4VlHrH2fns3KRuKlU72ps6527o,3861
@@ -681,7 +682,7 @@ plexflow/utils/video/__pycache__/audio.cpython-312.pyc,sha256=vXBnJwWgTDFdixMBs-
681
682
  plexflow/utils/video/__pycache__/subtitle.cpython-312.pyc,sha256=PCjpCLydGXaRsQy6cikhgsEs8WlComfOoYPiLFqfVMA,2515
682
683
  plexflow/utils/video/audio.py,sha256=tJ_lNwcjVuBQYD5cYOlXpr__eh8-hnReIgNRgIYOpqo,3380
683
684
  plexflow/utils/video/subtitle.py,sha256=LOGONGxs_RzmqtGP-DBKreOzS1eUFEKo75Q6AfnavW0,1290
684
- plexflow-0.0.97.dist-info/METADATA,sha256=MJCxYmOTrIQwRi7BD6RZJMl2ollT0y0LAWBITFPIvqw,3007
685
- plexflow-0.0.97.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
686
- plexflow-0.0.97.dist-info/entry_points.txt,sha256=uZc6ohXod3uudTgfeTqnkXBS4Cb7eajdjeqZc3P0PX4,1456
687
- plexflow-0.0.97.dist-info/RECORD,,
685
+ plexflow-0.0.98.dist-info/METADATA,sha256=uoGWqL6wR8vct5iipyLRIN5iLiDvt3oO7YkxIyTe018,3007
686
+ plexflow-0.0.98.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
687
+ plexflow-0.0.98.dist-info/entry_points.txt,sha256=uZc6ohXod3uudTgfeTqnkXBS4Cb7eajdjeqZc3P0PX4,1456
688
+ plexflow-0.0.98.dist-info/RECORD,,