plexflow 0.0.86__py3-none-any.whl → 0.0.88__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.
@@ -19,4 +19,10 @@ class Candidates(PartialContext):
19
19
  self.set('download/ranked/candidates', ranked_candidates)
20
20
 
21
21
  def ranked(self) -> Ranked:
22
- return self.get('download/ranked/candidates')
22
+ return self.get('download/ranked/candidates')
23
+
24
+ def update_selected(self, candidate: DownloadCandidate):
25
+ self.set('download/selected', candidate)
26
+
27
+ def selected(self) -> DownloadCandidate:
28
+ return self.get('download/selected')
@@ -15,6 +15,9 @@ class PiratesParadiseSearchResult(Torrent):
15
15
  self._magnet = kwargs.get('magnet')
16
16
  self.src = 'piratesparadise'
17
17
 
18
+ self._native_dutch_subtitles = []
19
+ self._native_english_subtitles = []
20
+
18
21
  @property
19
22
  def source(self) -> str:
20
23
  return self.src
@@ -32,6 +32,9 @@ class TPBSearchResult(Torrent):
32
32
  self.username = kwargs.get("username")
33
33
  self.src = "tpb"
34
34
 
35
+ self._native_dutch_subtitles = []
36
+ self._native_english_subtitles = []
37
+
35
38
  @property
36
39
  def magnet(self) -> str:
37
40
  return f'magnet:?xt=urn:btih:{self.info_hash}'
@@ -9,10 +9,6 @@ class Torrent(ABC):
9
9
  This is an abstract base class that represents a Torrent.
10
10
  Any class that inherits from this must implement all the properties.
11
11
  """
12
- def __init__(self):
13
- self._native_dutch_subtitles = []
14
- self._native_english_subtitles = []
15
-
16
12
  @property
17
13
  @abstractmethod
18
14
  def seeds(self) -> int:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: plexflow
3
- Version: 0.0.86
3
+ Version: 0.0.88
4
4
  Summary: A short description of the package.
5
5
  License: MIT
6
6
  Keywords: keyword1,keyword2,keyword3
@@ -25,7 +25,7 @@ plexflow/core/context/partials/__pycache__/__init__.cpython-311.pyc,sha256=x_5HU
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
- plexflow/core/context/partials/candidates.py,sha256=oouE7whR-3trH5xKDxu4ozkf2Kkzkrgda28uwEQTk-M,823
28
+ plexflow/core/context/partials/candidates.py,sha256=TnAPeSEolchQ3znT40xKjEQfeCl9qAMLFThWaeT46JY,1033
29
29
  plexflow/core/context/partials/context.py,sha256=pFzpAFxwCJdqPuhXJqhs6j4Xyvf0GQtzPRMmL4fcjEA,314
30
30
  plexflow/core/context/partials/ids.py,sha256=QoQ6FbX1OIWrE-iuz-G6kSzBlTt1_I1jyfl2JgKge2o,913
31
31
  plexflow/core/context/partials/movie.py,sha256=VXQ2SspFgGSRgDefg4VlHrH2fns3KRuKlU72ps6527o,3861
@@ -438,7 +438,7 @@ plexflow/core/torrents/providers/piratesparadise/__pycache__/tpb.cpython-312.pyc
438
438
  plexflow/core/torrents/providers/piratesparadise/__pycache__/utils.cpython-311.pyc,sha256=YwB71cMUDX6MxUduWoFXRQXsP_LIRqK4rAVrJMX4v38,6704
439
439
  plexflow/core/torrents/providers/piratesparadise/__pycache__/utils.cpython-312.pyc,sha256=IrcVcSYpD4mAn21gja6_3ULB0Kt_JUd3ZTX7piLmNRc,3447
440
440
  plexflow/core/torrents/providers/piratesparadise/piratesparadise.py,sha256=p0V00VKDKijf3B63yVaea2YdRLLIkJAOpPVhTKPglDc,929
441
- plexflow/core/torrents/providers/piratesparadise/utils.py,sha256=qnYQlqmzR62EEEcylSohrUQtIyYselNK2JhhN3y-LsQ,1372
441
+ plexflow/core/torrents/providers/piratesparadise/utils.py,sha256=XIFQZT15e4rOjiI71uPvXPiEz2tNHAZg4jU1hrlrupU,1459
442
442
  plexflow/core/torrents/providers/rarbg2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
443
443
  plexflow/core/torrents/providers/rarbg2/__pycache__/__init__.cpython-311.pyc,sha256=5V3wvzaKuEsqNyOL4-jILERBitIwrVqVnMjuQ_gAgik,189
444
444
  plexflow/core/torrents/providers/rarbg2/__pycache__/__init__.cpython-312.pyc,sha256=2-307lDdUrMbmxg9YI1DSbM8Mj6BYWLXva6rQojRh2M,177
@@ -500,7 +500,7 @@ plexflow/core/torrents/providers/tpb/__pycache__/tpb.cpython-312.pyc,sha256=MAp1
500
500
  plexflow/core/torrents/providers/tpb/__pycache__/utils.cpython-311.pyc,sha256=YwB71cMUDX6MxUduWoFXRQXsP_LIRqK4rAVrJMX4v38,6704
501
501
  plexflow/core/torrents/providers/tpb/__pycache__/utils.cpython-312.pyc,sha256=cJSN6zMizHkzh3_WWJ2uF4bZ6_svJSQnN296iP8YJv4,6378
502
502
  plexflow/core/torrents/providers/tpb/tpb.py,sha256=YB-a3kZ4DUzXkI4TJJszVvoJiX4L0QUJuCo-9iqC6JQ,681
503
- plexflow/core/torrents/providers/tpb/utils.py,sha256=xZEU9tbRnG8nR2lspPenIA0UqmqxMIH_uv1sMtW79qM,3621
503
+ plexflow/core/torrents/providers/tpb/utils.py,sha256=M1LdYgMMhFOZ-b12eazCh81tx-KTQMkQ2H21IuhfGOQ,3708
504
504
  plexflow/core/torrents/providers/yts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
505
505
  plexflow/core/torrents/providers/yts/__pycache__/__init__.cpython-311.pyc,sha256=QTE1sD-I-LNDtSuyErNJyVT5WwwI5V4nhk3nzW4c60Q,186
506
506
  plexflow/core/torrents/providers/yts/__pycache__/__init__.cpython-312.pyc,sha256=rb26jCjKRY0RXaanm-6RLAFANV4e4DwgUPbZcsCw-gc,174
@@ -518,7 +518,7 @@ plexflow/core/torrents/results/__pycache__/torrent.cpython-311.pyc,sha256=Sxfylb
518
518
  plexflow/core/torrents/results/__pycache__/torrent.cpython-312.pyc,sha256=gVBo7bTDY_6m9MmdgYy6fcnnoVQkXZiRI2iDANyG5RA,7776
519
519
  plexflow/core/torrents/results/__pycache__/universal.cpython-312.pyc,sha256=fWAmvqL76rp3K0_ydGNEHFJe-05duOvvo76ZpYjZQYE,14162
520
520
  plexflow/core/torrents/results/__pycache__/utils.cpython-312.pyc,sha256=vqEt3jQLzZ-K_E9WV0kKz4K79AScvcg2xyOUTlAcu70,1136
521
- plexflow/core/torrents/results/torrent.py,sha256=Fvb_JWX8dCfYOWFbUG4VFM46vlUgCCC2Sdok-7LfZfk,5314
521
+ plexflow/core/torrents/results/torrent.py,sha256=hSYlP_0Uktumi4wzXqIJ-WRRi5YAlvrZVhf_treXDrI,5203
522
522
  plexflow/core/torrents/results/universal.py,sha256=ycprOMT1Px8IthmB82YhmnxeNt7P3GAcrOlEkpKoaQk,7706
523
523
  plexflow/core/torrents/results/utils.py,sha256=abiiO_QQYDpA5aMyO8WFPxnGu5sL5xfACezE5bwrnJU,691
524
524
  plexflow/events/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -675,7 +675,7 @@ plexflow/utils/video/__pycache__/audio.cpython-312.pyc,sha256=vXBnJwWgTDFdixMBs-
675
675
  plexflow/utils/video/__pycache__/subtitle.cpython-312.pyc,sha256=PCjpCLydGXaRsQy6cikhgsEs8WlComfOoYPiLFqfVMA,2515
676
676
  plexflow/utils/video/audio.py,sha256=tJ_lNwcjVuBQYD5cYOlXpr__eh8-hnReIgNRgIYOpqo,3380
677
677
  plexflow/utils/video/subtitle.py,sha256=LOGONGxs_RzmqtGP-DBKreOzS1eUFEKo75Q6AfnavW0,1290
678
- plexflow-0.0.86.dist-info/METADATA,sha256=WRMDXiGNY9F5FqAra_o4dAjl60H6yPcS39FKLW5GzVk,2954
679
- plexflow-0.0.86.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
680
- plexflow-0.0.86.dist-info/entry_points.txt,sha256=aEqDHlozu_zjWrl2sibtrqtQHMgU8kSJZrE782CP47g,1362
681
- plexflow-0.0.86.dist-info/RECORD,,
678
+ plexflow-0.0.88.dist-info/METADATA,sha256=S4ZS0lhFz9bww1B5Tbyn2RgjqThfcgHf7ASsQu5ng64,2954
679
+ plexflow-0.0.88.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
680
+ plexflow-0.0.88.dist-info/entry_points.txt,sha256=aEqDHlozu_zjWrl2sibtrqtQHMgU8kSJZrE782CP47g,1362
681
+ plexflow-0.0.88.dist-info/RECORD,,