From 9bb48dcc47cd68b13ec2ade17b712cca05f9086f Mon Sep 17 00:00:00 2001 From: Jonas Weinz Date: Mon, 21 Jul 2025 21:29:27 +0200 Subject: [PATCH] increase limit --- hipsterfy/hipsterfy.py | 2 +- pyproject.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hipsterfy/hipsterfy.py b/hipsterfy/hipsterfy.py index f38ed21..7a0e6ea 100644 --- a/hipsterfy/hipsterfy.py +++ b/hipsterfy/hipsterfy.py @@ -400,7 +400,7 @@ class HipsterfyPlaylist(object): """Load the playlist data from Spotify and extract track information. """ playlist_id = self._playlist_uri.split("/")[-1].split("?")[0] - results = self._hipsterfy.sp.playlist_items(playlist_id, additional_types=['track']) + results = self._hipsterfy.sp.playlist_items(playlist_id, additional_types=['track'], limit=1000) self._tracks_data = [HipsterfyPlaylistItem(item['track']) for item in results['items'] if item['track']] def get_tracks_data(self) -> List[HipsterfyPlaylistItem]: """Returns the list of HipsterfyPlaylistItem objects representing the tracks in the playlist. diff --git a/pyproject.toml b/pyproject.toml index c95f849..25c5e24 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "hipsterfy" -version = "0.2.0" +version = "0.2.1" description = "" authors = [ {name="Jonas Weinz"} @@ -16,7 +16,7 @@ dependencies = [ ] [tool.poetry] name = "hipsterfy" -version = "0.2.0" +version = "0.2.1" description = "" authors = [ "Jonas Weinz"