@@ -59,6 +59,7 @@ async def _deser_score(score: dict, songs: "MaimaiSongs") -> Optional[Score]:
5959
6060 @retry (stop = stop_after_attempt (3 ), retry = retry_if_exception_type (TitleServerNetworkError ), reraise = True )
6161 async def get_player (self , identifier : PlayerIdentifier , client : "MaimaiClient" ) -> ArcadePlayer :
62+ raise NotImplementedError ("ArcadeProvider does not support new 1.53+ login method." )
6263 maimai_icons = await client .items (PlayerIcon )
6364 maimai_trophies = await client .items (PlayerTrophy )
6465 maimai_nameplates = await client .items (PlayerNamePlate )
@@ -76,6 +77,7 @@ async def get_player(self, identifier: PlayerIdentifier, client: "MaimaiClient")
7677
7778 @retry (stop = stop_after_attempt (3 ), retry = retry_if_exception_type (TitleServerNetworkError ), reraise = True )
7879 async def get_scores_all (self , identifier : PlayerIdentifier , client : "MaimaiClient" ) -> list [Score ]:
80+ raise NotImplementedError ("ArcadeProvider does not support new 1.53+ login method." )
7981 maimai_songs = await client .songs ()
8082 if identifier .credentials and isinstance (identifier .credentials , str ):
8183 resp_list = await arcade .get_user_scores (identifier .credentials .encode (), http_proxy = self ._http_proxy )
@@ -85,6 +87,7 @@ async def get_scores_all(self, identifier: PlayerIdentifier, client: "MaimaiClie
8587
8688 @retry (stop = stop_after_attempt (3 ), retry = retry_if_exception_type (TitleServerNetworkError ), reraise = True )
8789 async def get_regions (self , identifier : PlayerIdentifier , client : "MaimaiClient" ) -> list [PlayerRegion ]:
90+ raise NotImplementedError ("ArcadeProvider does not support new 1.53+ login method." )
8891 if identifier .credentials and isinstance (identifier .credentials , str ):
8992 resp_dict = await arcade .get_user_region (identifier .credentials .encode (), http_proxy = self ._http_proxy )
9093 return [
@@ -100,5 +103,6 @@ async def get_regions(self, identifier: PlayerIdentifier, client: "MaimaiClient"
100103
101104 @retry (stop = stop_after_attempt (3 ), retry = retry_if_exception_type ((TimeoutException , NetworkError )), reraise = True )
102105 async def get_identifier (self , code : Union [str , dict [str , str ]], client : "MaimaiClient" ) -> PlayerIdentifier :
106+ raise NotImplementedError ("ArcadeProvider does not support new 1.53+ login method." )
103107 resp_bytes : bytes = await arcade .get_uid_encrypted (str (code ), http_proxy = self ._http_proxy )
104108 return PlayerIdentifier (credentials = resp_bytes .decode ())
0 commit comments