anipy-cli 3.1.7__py3-none-any.whl → 3.1.9__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 CHANGED
@@ -1,2 +1,2 @@
1
1
  __appname__ = "anipy-cli"
2
- __version__ = "3.1.7"
2
+ __version__ = "3.1.9"
@@ -59,7 +59,12 @@ class SeasonalMenu(MenuBase):
59
59
  anime = Anime.from_local_list_entry(s)
60
60
  lang = s.language
61
61
  episodes = anime.get_episodes(lang)
62
- to_watch = episodes[episodes.index(s.episode) + 1 :]
62
+
63
+ if s.episode == -1:
64
+ to_watch = episodes
65
+ else:
66
+ to_watch = episodes[episodes.index(s.episode) + 1 :]
67
+
63
68
  if len(to_watch) > 0:
64
69
  ch = Choice(
65
70
  value=(anime, lang, to_watch),
@@ -96,7 +101,7 @@ class SeasonalMenu(MenuBase):
96
101
  )
97
102
 
98
103
  if episode is None:
99
- episode = anime.get_episodes(lang)[0]
104
+ episode = -1
100
105
 
101
106
  self.seasonal_list.update(anime, episode=episode, language=lang)
102
107
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: anipy-cli
3
- Version: 3.1.7
3
+ Version: 3.1.9
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
@@ -14,7 +14,7 @@ Classifier: Programming Language :: Python :: 3.9
14
14
  Classifier: Programming Language :: Python :: 3.10
15
15
  Classifier: Programming Language :: Python :: 3.11
16
16
  Classifier: Programming Language :: Python :: 3.12
17
- Requires-Dist: anipy-api (>=3.1.7,<4.0.0)
17
+ Requires-Dist: anipy-api (>=3.1.9,<4.0.0)
18
18
  Requires-Dist: appdirs (>=1.4.4,<2.0.0)
19
19
  Requires-Dist: inquirerpy (>=0.3.4,<0.4.0)
20
20
  Requires-Dist: pypresence (>=4.3.0,<5.0.0)
@@ -1,4 +1,4 @@
1
- anipy_cli/__init__.py,sha256=90IsEtcPaNSspC_cTEjHAu02x8HYhphdV3xsiKby35c,48
1
+ anipy_cli/__init__.py,sha256=VRAJFmcL_vqPQ-4cWly3a0ofKrKu8aVStq-AU9BG49k,48
2
2
  anipy_cli/arg_parser.py,sha256=6MdLjJANPh5u8QBvrmvsa1LREFT2yWY7BidhTETQep0,5402
3
3
  anipy_cli/cli.py,sha256=Ah5BE-u_SjcuzU5dQ5cSHtUloVRApCWwTK5i49yQtH8,1922
4
4
  anipy_cli/clis/__init__.py,sha256=Y00uiPWiMvvRImxJMvfLA55BOkMUOrrx5vJUNvquNsY,411
@@ -17,10 +17,10 @@ anipy_cli/menus/__init__.py,sha256=aIzbphxAW-QGfZwR1DIegFZuTJp1O3tSUnai0f0f4lY,1
17
17
  anipy_cli/menus/base_menu.py,sha256=g5b9Z7SpvCxcq_vqObcPzxLwcXeGPltLgSwa0sEzyfk,1140
18
18
  anipy_cli/menus/mal_menu.py,sha256=tJYq5J3k89_0BKFiWavn9Gqh5Z7uXtoUFqJaa3fT4o4,24105
19
19
  anipy_cli/menus/menu.py,sha256=UQJ1hpyDT0i03ecIjBbFRp4PFh6FTNHDhSwSBSAhQEI,7860
20
- anipy_cli/menus/seasonal_menu.py,sha256=VBmeXanJb-vS5TXiK79KgtJ5vPW87gIOdpN_EijAG_U,9097
20
+ anipy_cli/menus/seasonal_menu.py,sha256=Y64dRs554n-O51L5Cf-Jwtmdt2w1MM2XAErqBwsNgDM,9176
21
21
  anipy_cli/prompts.py,sha256=seNeErTP1om1wpRUN-rbUUI8bAGRmu48ScQjztzKkeE,7564
22
22
  anipy_cli/util.py,sha256=-WXc26vsdjuBsDaKAxezhBjupOdatAdu3MeRDRuTW64,7585
23
- anipy_cli-3.1.7.dist-info/METADATA,sha256=BGC73LR7fLyI7cO6I57AC-c88kPwydCeSho7h-1So10,3418
24
- anipy_cli-3.1.7.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
25
- anipy_cli-3.1.7.dist-info/entry_points.txt,sha256=86iXpcm_ECFndrt0JAI2mqYfXC2Ar7mGi0iOaxCrNP0,51
26
- anipy_cli-3.1.7.dist-info/RECORD,,
23
+ anipy_cli-3.1.9.dist-info/METADATA,sha256=qcLQSqxDcjkftCNmp8d6ErviH2DWHXP0EXbFOglF5vY,3418
24
+ anipy_cli-3.1.9.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
25
+ anipy_cli-3.1.9.dist-info/entry_points.txt,sha256=86iXpcm_ECFndrt0JAI2mqYfXC2Ar7mGi0iOaxCrNP0,51
26
+ anipy_cli-3.1.9.dist-info/RECORD,,