return result
async def get_artist_toptracks(self, prov_artist_id: str) -> list[Track]:
- """Get a list of 25 most popular tracks for the given artist."""
- tracks_obj = await self._soundcloud.get_popular_tracks_user(prov_artist_id, 25)
+ """Get a list of (max 500) tracks for the given artist."""
+ tracks_obj = await self._soundcloud.get_tracks_from_user(prov_artist_id, 500)
+
tracks = []
for item in tracks_obj["collection"]:
song = await self._soundcloud.get_track_details(item["id"])