plexflow 0.0.96__py3-none-any.whl → 0.0.97__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/downloads/qbit/__pycache__/interface.cpython-312.pyc +0 -0
- plexflow/core/downloads/qbit/interface.py +14 -0
- {plexflow-0.0.96.dist-info → plexflow-0.0.97.dist-info}/METADATA +1 -1
- {plexflow-0.0.96.dist-info → plexflow-0.0.97.dist-info}/RECORD +6 -6
- {plexflow-0.0.96.dist-info → plexflow-0.0.97.dist-info}/WHEEL +0 -0
- {plexflow-0.0.96.dist-info → plexflow-0.0.97.dist-info}/entry_points.txt +0 -0
Binary file
|
@@ -34,6 +34,20 @@ def force_start(torrent: TorrentDictionary, **kwargs):
|
|
34
34
|
with qbittorrentapi.Client(**conn_info) as qbt_client:
|
35
35
|
return qbt_client.torrents_setForceStart(enable=True, torrent_hashes=torrent.hash)
|
36
36
|
|
37
|
+
def remove(torrent: TorrentDictionary, hard: bool, **kwargs):
|
38
|
+
# instantiate a Client using the appropriate WebUI configuration
|
39
|
+
conn_info = dict(
|
40
|
+
host=kwargs.get("qbit_host"),
|
41
|
+
port=kwargs.get("qbit_port"),
|
42
|
+
username=kwargs.get("qbit_username"),
|
43
|
+
password=kwargs.get("qbit_password"),
|
44
|
+
)
|
45
|
+
qbt_client = qbittorrentapi.Client(**conn_info)
|
46
|
+
|
47
|
+
# or use a context manager:
|
48
|
+
with qbittorrentapi.Client(**conn_info) as qbt_client:
|
49
|
+
return qbt_client.torrents_delete(delete_files=hard, torrent_hashes=torrent.hash)
|
50
|
+
|
37
51
|
def is_completed(torrent: TorrentDictionary) -> bool:
|
38
52
|
return torrent.state in [
|
39
53
|
"seeding",
|
@@ -72,9 +72,9 @@ plexflow/core/downloads/candidates/rank/__pycache__/utils.cpython-312.pyc,sha256
|
|
72
72
|
plexflow/core/downloads/candidates/rank/ranking.py,sha256=p86f3DQmXJNE53gPk9E5RcKA7dgXI4wPQsIh9ae1uxY,2490
|
73
73
|
plexflow/core/downloads/candidates/rank/utils.py,sha256=R4Ai4KmZRONo9vd2rf32DdGxVkANHYFwSjrO5WVjX9U,100
|
74
74
|
plexflow/core/downloads/candidates/utils.py,sha256=ahI6bvk7CHT_O0BEXsd7FtC180Swlt9Phj6_op1mhYA,1777
|
75
|
-
plexflow/core/downloads/qbit/__pycache__/interface.cpython-312.pyc,sha256=
|
75
|
+
plexflow/core/downloads/qbit/__pycache__/interface.cpython-312.pyc,sha256=szUoTWpZNpHwJ0OnXer8ZLeAYIvHND-rX1lB2Juv-J4,3335
|
76
76
|
plexflow/core/downloads/qbit/__pycache__/schedule.cpython-312.pyc,sha256=ESOLrk6sLpb1mtijuDGNKvAHaYopVQBwSDzdt8dFNow,1350
|
77
|
-
plexflow/core/downloads/qbit/interface.py,sha256=
|
77
|
+
plexflow/core/downloads/qbit/interface.py,sha256=26--RLSWYnI8nx4UThF2qu3Lm7hqpOxKw5Sp47qqg2o,2435
|
78
78
|
plexflow/core/downloads/qbit/schedule.py,sha256=5w3JpbIGRc5xS_ZjfKXMXywi-2NXL_2y_Izx0DmUGnE,907
|
79
79
|
plexflow/core/env/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
80
80
|
plexflow/core/env/env.py,sha256=8cK49WiKD_H3B9K0QiMu7pkXTld40ojRB3sK7noQM44,953
|
@@ -681,7 +681,7 @@ plexflow/utils/video/__pycache__/audio.cpython-312.pyc,sha256=vXBnJwWgTDFdixMBs-
|
|
681
681
|
plexflow/utils/video/__pycache__/subtitle.cpython-312.pyc,sha256=PCjpCLydGXaRsQy6cikhgsEs8WlComfOoYPiLFqfVMA,2515
|
682
682
|
plexflow/utils/video/audio.py,sha256=tJ_lNwcjVuBQYD5cYOlXpr__eh8-hnReIgNRgIYOpqo,3380
|
683
683
|
plexflow/utils/video/subtitle.py,sha256=LOGONGxs_RzmqtGP-DBKreOzS1eUFEKo75Q6AfnavW0,1290
|
684
|
-
plexflow-0.0.
|
685
|
-
plexflow-0.0.
|
686
|
-
plexflow-0.0.
|
687
|
-
plexflow-0.0.
|
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,,
|
File without changes
|
File without changes
|