From e598b1074c6174d584157c8d382c5f0ffe29c575 Mon Sep 17 00:00:00 2001 From: WorldObservationLog Date: Mon, 20 May 2024 20:27:26 +0800 Subject: [PATCH] fix: wrong get_playlist_tracks function --- src/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api.py b/src/api.py index 12bfdc7..27bdeed 100644 --- a/src/api.py +++ b/src/api.py @@ -133,7 +133,7 @@ async def get_playlist_tracks(playlist_id: str, token: str, storefront: str, lan playlist_tracks = PlaylistTracks.parse_obj(resp.json()) tracks = playlist_tracks.data if playlist_tracks.next: - next_tracks = await get_playlist_info_and_tracks(playlist_id, token, storefront, lang, offset + 100) + next_tracks = await get_playlist_tracks(playlist_id, token, storefront, lang, offset + 100) tracks.extend(next_tracks) return tracks