plexflow 0.0.94__py3-none-any.whl → 0.0.95__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/schedule.py +6 -6
- {plexflow-0.0.94.dist-info → plexflow-0.0.95.dist-info}/METADATA +1 -1
- {plexflow-0.0.94.dist-info → plexflow-0.0.95.dist-info}/RECORD +5 -5
- {plexflow-0.0.94.dist-info → plexflow-0.0.95.dist-info}/WHEEL +0 -0
- {plexflow-0.0.94.dist-info → plexflow-0.0.95.dist-info}/entry_points.txt +0 -0
@@ -3,13 +3,13 @@ from plexflow.core.downloads.candidates.download_candidate import DownloadCandid
|
|
3
3
|
from typing import List
|
4
4
|
|
5
5
|
|
6
|
-
def schedule_download(magnet: str, category: str = None, tags: List[str] = ()):
|
6
|
+
def schedule_download(magnet: str, category: str = None, tags: List[str] = (), save_path: str = None, **kwargs):
|
7
7
|
# instantiate a Client using the appropriate WebUI configuration
|
8
8
|
conn_info = dict(
|
9
|
-
host=
|
10
|
-
port=
|
11
|
-
username="
|
12
|
-
password="
|
9
|
+
host=kwargs.get("qbit_host"),
|
10
|
+
port=kwargs.get("qbit_port"),
|
11
|
+
username=kwargs.get("qbit_username"),
|
12
|
+
password=kwargs.get("qbit_password"),
|
13
13
|
)
|
14
14
|
qbt_client = qbittorrentapi.Client(**conn_info)
|
15
15
|
|
@@ -17,7 +17,7 @@ def schedule_download(magnet: str, category: str = None, tags: List[str] = ()):
|
|
17
17
|
with qbittorrentapi.Client(**conn_info) as qbt_client:
|
18
18
|
if qbt_client.torrents_add(
|
19
19
|
urls=magnet,
|
20
|
-
save_path=
|
20
|
+
save_path=save_path,
|
21
21
|
content_layout='Subfolder',
|
22
22
|
tags=tags,
|
23
23
|
category=category) != "Ok.":
|
@@ -73,7 +73,7 @@ plexflow/core/downloads/candidates/rank/ranking.py,sha256=p86f3DQmXJNE53gPk9E5Rc
|
|
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
75
|
plexflow/core/downloads/qbit/__pycache__/schedule.cpython-312.pyc,sha256=KaPzztSjrBeFBwXYKHMlwExoaHXv3_2GIDkXJace5Ek,1180
|
76
|
-
plexflow/core/downloads/qbit/schedule.py,sha256=
|
76
|
+
plexflow/core/downloads/qbit/schedule.py,sha256=5w3JpbIGRc5xS_ZjfKXMXywi-2NXL_2y_Izx0DmUGnE,907
|
77
77
|
plexflow/core/env/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
78
78
|
plexflow/core/env/env.py,sha256=8cK49WiKD_H3B9K0QiMu7pkXTld40ojRB3sK7noQM44,953
|
79
79
|
plexflow/core/genai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -679,7 +679,7 @@ plexflow/utils/video/__pycache__/audio.cpython-312.pyc,sha256=vXBnJwWgTDFdixMBs-
|
|
679
679
|
plexflow/utils/video/__pycache__/subtitle.cpython-312.pyc,sha256=PCjpCLydGXaRsQy6cikhgsEs8WlComfOoYPiLFqfVMA,2515
|
680
680
|
plexflow/utils/video/audio.py,sha256=tJ_lNwcjVuBQYD5cYOlXpr__eh8-hnReIgNRgIYOpqo,3380
|
681
681
|
plexflow/utils/video/subtitle.py,sha256=LOGONGxs_RzmqtGP-DBKreOzS1eUFEKo75Q6AfnavW0,1290
|
682
|
-
plexflow-0.0.
|
683
|
-
plexflow-0.0.
|
684
|
-
plexflow-0.0.
|
685
|
-
plexflow-0.0.
|
682
|
+
plexflow-0.0.95.dist-info/METADATA,sha256=a2XpDnek3OtiEQf0XOvMrsm9yLPvSLniePNP5xgtdMM,3007
|
683
|
+
plexflow-0.0.95.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
684
|
+
plexflow-0.0.95.dist-info/entry_points.txt,sha256=Ek_W0j1EHddr5lmAdqwwRFzAczIjHG2JKyWYapnelX8,1408
|
685
|
+
plexflow-0.0.95.dist-info/RECORD,,
|
File without changes
|
File without changes
|