anipy-cli 3.4.11__py3-none-any.whl → 3.5.1__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.4.11"
2
+ __version__ = "3.5.1"
anipy_cli/config.py CHANGED
@@ -72,7 +72,7 @@ class Config:
72
72
 
73
73
  For an updated list of providers look here: https://sdaqo.github.io/anipy-cli/availabilty
74
74
 
75
- Supported providers (as of $version): animekai
75
+ Supported providers (as of $version): allanime, animekai
76
76
 
77
77
  Examples:
78
78
  providers:
@@ -83,11 +83,11 @@ class Config:
83
83
  mal: ["provider2", "provider3"]
84
84
  """
85
85
  defaults = {
86
- "default": ["animekai"],
87
- "download": ["animekai"],
88
- "seasonal": ["animekai"],
89
- "binge": ["animekai"],
90
- "mal": ["animekai"],
86
+ "default": ["allanime"],
87
+ "download": ["allanime"],
88
+ "seasonal": ["allanime"],
89
+ "binge": ["allanime"],
90
+ "mal": ["allanime"],
91
91
  }
92
92
 
93
93
  value = self._get_value("providers", defaults, dict)
anipy_cli/menus/menu.py CHANGED
@@ -6,6 +6,7 @@ from InquirerPy.base.control import Choice
6
6
  from anipy_api.download import Downloader
7
7
  from anipy_api.provider import LanguageTypeEnum, ProviderStream
8
8
  from anipy_api.locallist import LocalList
9
+ from anipy_api.provider.base import ExternalSub
9
10
 
10
11
  from anipy_cli.colors import colors, cprint
11
12
  from anipy_cli.config import Config
@@ -194,8 +195,8 @@ class Menu(MenuBase):
194
195
 
195
196
  if stream is None:
196
197
  return
197
-
198
- stream = ProviderStream(**stream)
198
+
199
+ stream = next(filter(lambda x: x.url == stream["url"], streams))
199
200
  self.options.quality = stream.resolution
200
201
  self.stream = stream
201
202
  self.player.play_title(self.anime, self.stream)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: anipy-cli
3
- Version: 3.4.11
3
+ Version: 3.5.1
4
4
  Summary: Watch and Download anime from the comfort of your Terminal
5
5
  License: GPL-3.0
6
6
  Keywords: anime,cli
@@ -14,7 +14,7 @@ Classifier: Programming Language :: Python :: 3.10
14
14
  Classifier: Programming Language :: Python :: 3.11
15
15
  Classifier: Programming Language :: Python :: 3.12
16
16
  Classifier: Programming Language :: Python :: 3.13
17
- Requires-Dist: anipy-api (>=3.4.11,<4.0.0)
17
+ Requires-Dist: anipy-api (>=3.5.1,<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=aiK60GB2nVf4jzb9TyhHbEMuVu-Xhvv2MCwTYpp0UHU,49
1
+ anipy_cli/__init__.py,sha256=3MPS-X25eg4FVYhKXqJHkrqOgx-p6WBNM_u0QRVfzEE,48
2
2
  anipy_cli/arg_parser.py,sha256=efUOHrMcKkEELbkxsudSzHC0FF2Z_tSFDTmDBqirVGY,6459
3
3
  anipy_cli/cli.py,sha256=Bk2H15VRF34yKLbGgKVq0A2vdByMJj-JTyx7Ep-JbH0,2238
4
4
  anipy_cli/clis/__init__.py,sha256=Y00uiPWiMvvRImxJMvfLA55BOkMUOrrx5vJUNvquNsY,411
@@ -10,18 +10,18 @@ anipy_cli/clis/history_cli.py,sha256=2ccv6BpQQpUhY4K-KM7lO9qxVLXBrmCY5lec6czipSE
10
10
  anipy_cli/clis/mal_cli.py,sha256=_tSLgDUOa6GOZNyCncSSzaVj088y5GAKkHVRSndLLxk,2258
11
11
  anipy_cli/clis/seasonal_cli.py,sha256=GV2TQNm9UotG1cxfYbrFFgg7Jmy8SFa7w_GlFtPdRVE,616
12
12
  anipy_cli/colors.py,sha256=voXC7z1Fs9tHg4zzNTNMIrt9k-EVgJ3_xEf5KiW2xgo,916
13
- anipy_cli/config.py,sha256=x9u5UHbPMewsA2q7XMHs6pvfFfTGzTxgROER2LEZESI,17746
13
+ anipy_cli/config.py,sha256=WUISMIhe3X8pZYm23w_x442Ms2PVjcBMB-t_LuAGkWA,17756
14
14
  anipy_cli/discord.py,sha256=c6mdqnEdblzZBYs3cGP66oDeS4ySm59OfTRP-R-Duls,1160
15
15
  anipy_cli/download_component.py,sha256=sHmYpVpr2tXc4zrr9pai_uBa8fYcP6y__rGjHpDUtOA,5614
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=ejTOGVG8fFJhTT7t23kA_uBbF5pkNcdvj4cGAIPvdt8,8101
20
+ anipy_cli/menus/menu.py,sha256=tnWQyP4WAc5VjgCiBp-0akXqXFGhxdPXgg1QKTxKHbg,8188
21
21
  anipy_cli/menus/seasonal_menu.py,sha256=NT9dfQUdN1DFu6wAf9hdWOfVBB7EfFiUECAcW6fqHgs,8995
22
22
  anipy_cli/prompts.py,sha256=RW1jqNq6RQY7BqV77vrCtEuyfyc8ArtdwCH73S3-c-k,11909
23
23
  anipy_cli/util.py,sha256=8AzEeoSPXMGTdTrArhE0COhSuYP_MCvYIeGHv5X7haU,6841
24
- anipy_cli-3.4.11.dist-info/METADATA,sha256=78vF58H0_GH_0lBXAFlwEbOONfNK4S5aobY8Ja2FmIs,3483
25
- anipy_cli-3.4.11.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
26
- anipy_cli-3.4.11.dist-info/entry_points.txt,sha256=86iXpcm_ECFndrt0JAI2mqYfXC2Ar7mGi0iOaxCrNP0,51
27
- anipy_cli-3.4.11.dist-info/RECORD,,
24
+ anipy_cli-3.5.1.dist-info/METADATA,sha256=eSGqNyh0aFQOeHfEaE4NngH_DRzYiBt2zq_pvjeyk28,3481
25
+ anipy_cli-3.5.1.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
26
+ anipy_cli-3.5.1.dist-info/entry_points.txt,sha256=86iXpcm_ECFndrt0JAI2mqYfXC2Ar7mGi0iOaxCrNP0,51
27
+ anipy_cli-3.5.1.dist-info/RECORD,,