anipy-cli 3.2.3__py3-none-any.whl → 3.2.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/menus/mal_menu.py +13 -4
- {anipy_cli-3.2.3.dist-info → anipy_cli-3.2.4.dist-info}/METADATA +2 -2
- {anipy_cli-3.2.3.dist-info → anipy_cli-3.2.4.dist-info}/RECORD +6 -6
- {anipy_cli-3.2.3.dist-info → anipy_cli-3.2.4.dist-info}/WHEEL +0 -0
- {anipy_cli-3.2.3.dist-info → anipy_cli-3.2.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.2.
|
|
2
|
+
__version__ = "3.2.4"
|
anipy_cli/menus/mal_menu.py
CHANGED
|
@@ -390,7 +390,9 @@ class MALMenu(MenuBase):
|
|
|
390
390
|
mylist.pop(i)
|
|
391
391
|
continue
|
|
392
392
|
|
|
393
|
-
if e.my_list_status.num_episodes_watched == e.num_episodes
|
|
393
|
+
if (e.my_list_status.num_episodes_watched == e.num_episodes) and (
|
|
394
|
+
e.my_list_status.num_episodes_watched != 0
|
|
395
|
+
):
|
|
394
396
|
mylist.pop(i)
|
|
395
397
|
|
|
396
398
|
if not mylist:
|
|
@@ -425,9 +427,14 @@ class MALMenu(MenuBase):
|
|
|
425
427
|
for e in mylist:
|
|
426
428
|
s.write(f"> Checking out episodes of {e.title}")
|
|
427
429
|
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
430
|
+
if e.num_episodes != 0:
|
|
431
|
+
episodes_to_watch = list(
|
|
432
|
+
range(e.my_list_status.num_episodes_watched + 1, e.num_episodes + 1) # type: ignore
|
|
433
|
+
)
|
|
434
|
+
elif e.num_episodes == 0:
|
|
435
|
+
episodes_to_watch = list(
|
|
436
|
+
range(e.my_list_status.num_episodes_watched + 1, 10000) # type: ignore
|
|
437
|
+
)
|
|
431
438
|
|
|
432
439
|
result = self.mal_proxy.map_from_mal(e)
|
|
433
440
|
|
|
@@ -474,6 +481,8 @@ class MALMenu(MenuBase):
|
|
|
474
481
|
s.write(
|
|
475
482
|
f"> Episode {ep} not found in provider, skipping..."
|
|
476
483
|
)
|
|
484
|
+
if e.num_episodes == 0:
|
|
485
|
+
break
|
|
477
486
|
|
|
478
487
|
to_watch.append((result, e, lang, will_watch))
|
|
479
488
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: anipy-cli
|
|
3
|
-
Version: 3.2.
|
|
3
|
+
Version: 3.2.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.2.
|
|
18
|
+
Requires-Dist: anipy-api (>=3.2.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=NhZk09M1CKoqll7LwLaDDAej6WK8EeB18GAYSlwtWKw,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
|
|
@@ -16,12 +16,12 @@ anipy_cli/download_component.py,sha256=6N-7ItCj1hiqFu7falu6gvLp5KNYtfISMqlazHFPi
|
|
|
16
16
|
anipy_cli/mal_proxy.py,sha256=wIsku2_dl8vKD2K99L63OlzA3L5fl-VmyeiXC9VrxI4,6981
|
|
17
17
|
anipy_cli/menus/__init__.py,sha256=aIzbphxAW-QGfZwR1DIegFZuTJp1O3tSUnai0f0f4lY,185
|
|
18
18
|
anipy_cli/menus/base_menu.py,sha256=g5b9Z7SpvCxcq_vqObcPzxLwcXeGPltLgSwa0sEzyfk,1140
|
|
19
|
-
anipy_cli/menus/mal_menu.py,sha256=
|
|
19
|
+
anipy_cli/menus/mal_menu.py,sha256=RBq80HG-rKUeJaDuT9ZCCZuujebb2Jc0xwo2Pedo3VQ,23690
|
|
20
20
|
anipy_cli/menus/menu.py,sha256=iSEko3ckcLMOccwB8qJ2LE4j15Qgy0RMLWKY9jnAJrY,7985
|
|
21
21
|
anipy_cli/menus/seasonal_menu.py,sha256=ZB0i37xdR5tERqPNDIdYS9cFLh2swFFQdvOdCD_CdkY,8245
|
|
22
22
|
anipy_cli/prompts.py,sha256=lQDrb8IlhsQhOpLG4sflamprTSn-PlCy41tGpXIowdo,10156
|
|
23
23
|
anipy_cli/util.py,sha256=YPCYMmsXUhcikYvT9407Asie5qd20pvhqnK949JcirE,7992
|
|
24
|
-
anipy_cli-3.2.
|
|
25
|
-
anipy_cli-3.2.
|
|
26
|
-
anipy_cli-3.2.
|
|
27
|
-
anipy_cli-3.2.
|
|
24
|
+
anipy_cli-3.2.4.dist-info/METADATA,sha256=-nk5ez9jJ1y_SUSKFWuuXqho42L1P7oiSuUwrr1WA5U,3469
|
|
25
|
+
anipy_cli-3.2.4.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
26
|
+
anipy_cli-3.2.4.dist-info/entry_points.txt,sha256=86iXpcm_ECFndrt0JAI2mqYfXC2Ar7mGi0iOaxCrNP0,51
|
|
27
|
+
anipy_cli-3.2.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|