anipy-cli 3.3.3__py3-none-any.whl → 3.3.4__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.
Potentially problematic release.
This version of anipy-cli might be problematic. Click here for more details.
- anipy_cli/__init__.py +1 -1
- anipy_cli/download_component.py +1 -1
- anipy_cli/menus/menu.py +1 -1
- anipy_cli/util.py +3 -1
- {anipy_cli-3.3.3.dist-info → anipy_cli-3.3.4.dist-info}/METADATA +2 -2
- {anipy_cli-3.3.3.dist-info → anipy_cli-3.3.4.dist-info}/RECORD +8 -8
- {anipy_cli-3.3.3.dist-info → anipy_cli-3.3.4.dist-info}/WHEEL +0 -0
- {anipy_cli-3.3.3.dist-info → anipy_cli-3.3.4.dist-info}/entry_points.txt +0 -0
anipy_cli/__init__.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
__appname__ = "anipy-cli"
|
|
2
|
-
__version__ = "3.3.
|
|
2
|
+
__version__ = "3.3.4"
|
anipy_cli/download_component.py
CHANGED
|
@@ -143,7 +143,7 @@ class DownloadComponent:
|
|
|
143
143
|
get_download_path(anime, stream, parent_directory=self.dl_path),
|
|
144
144
|
container=config.remux_to,
|
|
145
145
|
ffmpeg=self.options.ffmpeg or config.ffmpeg_hls,
|
|
146
|
-
post_dl_cb=get_post_download_scripts_hook(self.mode, anime)
|
|
146
|
+
post_dl_cb=get_post_download_scripts_hook(self.mode, anime, spinner)
|
|
147
147
|
)
|
|
148
148
|
|
|
149
149
|
@staticmethod
|
anipy_cli/menus/menu.py
CHANGED
|
@@ -233,7 +233,7 @@ class Menu(MenuBase):
|
|
|
233
233
|
get_download_path(self.anime, self.stream),
|
|
234
234
|
container=config.remux_to,
|
|
235
235
|
ffmpeg=self.options.ffmpeg or config.ffmpeg_hls,
|
|
236
|
-
post_dl_cb=get_post_download_scripts_hook("default", self.anime)
|
|
236
|
+
post_dl_cb=get_post_download_scripts_hook("default", self.anime, s)
|
|
237
237
|
)
|
|
238
238
|
|
|
239
239
|
if Config().auto_open_dl_defaultcli:
|
anipy_cli/util.py
CHANGED
|
@@ -121,12 +121,13 @@ def get_download_path(
|
|
|
121
121
|
|
|
122
122
|
return download_folder / anime_name / filename
|
|
123
123
|
|
|
124
|
-
def get_post_download_scripts_hook(mode: str, anime: "Anime") -> PostDownloadCallback:
|
|
124
|
+
def get_post_download_scripts_hook(mode: str, anime: "Anime", spinner: DotSpinner) -> PostDownloadCallback:
|
|
125
125
|
config = Config()
|
|
126
126
|
scripts = config.post_download_scripts[mode]
|
|
127
127
|
timeout = config.post_download_scripts["timeout"]
|
|
128
128
|
|
|
129
129
|
def hook(path: Path, stream: "ProviderStream"):
|
|
130
|
+
spinner.hide()
|
|
130
131
|
arguments = [
|
|
131
132
|
str(path), anime.name,
|
|
132
133
|
str(stream.episode), anime.provider.NAME,
|
|
@@ -135,6 +136,7 @@ def get_post_download_scripts_hook(mode: str, anime: "Anime") -> PostDownloadCal
|
|
|
135
136
|
for s in scripts:
|
|
136
137
|
sub_proc = sp.Popen([s, *arguments])
|
|
137
138
|
sub_proc.wait(timeout) # type: ignore
|
|
139
|
+
spinner.show()
|
|
138
140
|
|
|
139
141
|
return hook
|
|
140
142
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: anipy-cli
|
|
3
|
-
Version: 3.3.
|
|
3
|
+
Version: 3.3.4
|
|
4
4
|
Summary: Watch and Download anime from the comfort of your Terminal
|
|
5
5
|
Home-page: https://sdaqo.github.io/anipy-cli
|
|
6
6
|
License: GPL-3.0
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.11
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
-
Requires-Dist: anipy-api (>=3.3.
|
|
18
|
+
Requires-Dist: anipy-api (>=3.3.4,<4.0.0)
|
|
19
19
|
Requires-Dist: appdirs (>=1.4.4,<2.0.0)
|
|
20
20
|
Requires-Dist: inquirerpy (>=0.3.4,<0.4.0)
|
|
21
21
|
Requires-Dist: pypresence (>=4.3.0,<5.0.0)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
anipy_cli/__init__.py,sha256=
|
|
1
|
+
anipy_cli/__init__.py,sha256=S3uHlqaqwDVDsjRxtpyGtKztgf9jrVf3CtG8pj149ZU,48
|
|
2
2
|
anipy_cli/arg_parser.py,sha256=Y_p5Sh7LR0yeqfhFVXkyAbZMjDR1-NIoY_TVuPwUnwk,6009
|
|
3
3
|
anipy_cli/cli.py,sha256=Ah5BE-u_SjcuzU5dQ5cSHtUloVRApCWwTK5i49yQtH8,1922
|
|
4
4
|
anipy_cli/clis/__init__.py,sha256=Y00uiPWiMvvRImxJMvfLA55BOkMUOrrx5vJUNvquNsY,411
|
|
@@ -12,16 +12,16 @@ anipy_cli/clis/seasonal_cli.py,sha256=GV2TQNm9UotG1cxfYbrFFgg7Jmy8SFa7w_GlFtPdRV
|
|
|
12
12
|
anipy_cli/colors.py,sha256=voXC7z1Fs9tHg4zzNTNMIrt9k-EVgJ3_xEf5KiW2xgo,916
|
|
13
13
|
anipy_cli/config.py,sha256=mbR7D1472Z6lLLw1_Vx_H0cH7fQVJJBPpIVXA6SMvy0,17751
|
|
14
14
|
anipy_cli/discord.py,sha256=c6mdqnEdblzZBYs3cGP66oDeS4ySm59OfTRP-R-Duls,1160
|
|
15
|
-
anipy_cli/download_component.py,sha256=
|
|
15
|
+
anipy_cli/download_component.py,sha256=3GCPoWIEjhN1rBtOt8NQg9lqBTI4OHV3gG2RZ3NMzcA,5248
|
|
16
16
|
anipy_cli/mal_proxy.py,sha256=me2ESB442pYeNEpHY8mqrOEb477UA0uAg2LprKcp8sM,7098
|
|
17
17
|
anipy_cli/menus/__init__.py,sha256=aIzbphxAW-QGfZwR1DIegFZuTJp1O3tSUnai0f0f4lY,185
|
|
18
18
|
anipy_cli/menus/base_menu.py,sha256=g5b9Z7SpvCxcq_vqObcPzxLwcXeGPltLgSwa0sEzyfk,1140
|
|
19
19
|
anipy_cli/menus/mal_menu.py,sha256=jAVJh7K5d0BCnoT4qUIZ7CavrnrctXj-eg9k8E90ulE,23697
|
|
20
|
-
anipy_cli/menus/menu.py,sha256=
|
|
20
|
+
anipy_cli/menus/menu.py,sha256=ejTOGVG8fFJhTT7t23kA_uBbF5pkNcdvj4cGAIPvdt8,8101
|
|
21
21
|
anipy_cli/menus/seasonal_menu.py,sha256=diABjK7LIDlXUoMydhDyLG9ba7J4UFmeD5AyGO3GPAI,10648
|
|
22
22
|
anipy_cli/prompts.py,sha256=lQDrb8IlhsQhOpLG4sflamprTSn-PlCy41tGpXIowdo,10156
|
|
23
|
-
anipy_cli/util.py,sha256=
|
|
24
|
-
anipy_cli-3.3.
|
|
25
|
-
anipy_cli-3.3.
|
|
26
|
-
anipy_cli-3.3.
|
|
27
|
-
anipy_cli-3.3.
|
|
23
|
+
anipy_cli/util.py,sha256=PxUPRxKCCTig1IHwmzH4m4Jofr4r-bg9lHyID3l5CIA,8944
|
|
24
|
+
anipy_cli-3.3.4.dist-info/METADATA,sha256=WzPCCp1Uy-mTM6Gu2D1JlLD6qVKX8VlcTOFNtllkrO4,3469
|
|
25
|
+
anipy_cli-3.3.4.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
26
|
+
anipy_cli-3.3.4.dist-info/entry_points.txt,sha256=86iXpcm_ECFndrt0JAI2mqYfXC2Ar7mGi0iOaxCrNP0,51
|
|
27
|
+
anipy_cli-3.3.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|