[GH-ISSUE #190] get_playlist limit not working #145

Closed
opened 2026-02-27 22:08:17 +03:00 by kerem · 2 comments
Owner

Originally created by @ddorab on GitHub (Apr 19, 2021).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/190

image

image

am i dumb

Originally created by @ddorab on GitHub (Apr 19, 2021). Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/190 ![image](https://user-images.githubusercontent.com/45337750/115243907-15203f80-a12c-11eb-9bb2-c02289d94523.png) ![image](https://user-images.githubusercontent.com/45337750/115243868-0b96d780-a12c-11eb-93b6-46476174e3cf.png) am i dumb
kerem closed this issue 2026-02-27 22:08:17 +03:00
Author
Owner

@sigma67 commented on GitHub (Apr 19, 2021):

It works just like the YouTube Music website. You can't retrieve less than 100 playlist items. Since ytmusicapi has to fetch the data anyway, it just returns all of it. This is consistent across the whole API, you will always get increments of the default limit (100 for playlists). If it's a different number, it's because the playlist has less than 100 items total, or because some library endpoints are flaky and sometimes don't return all songs

<!-- gh-comment-id:822503074 --> @sigma67 commented on GitHub (Apr 19, 2021): It works just like the YouTube Music website. You can't retrieve less than 100 playlist items. Since ytmusicapi has to fetch the data anyway, it just returns all of it. This is consistent across the whole API, you will always get increments of the default limit (100 for playlists). If it's a different number, it's because the playlist has less than 100 items total, or because some library endpoints are flaky and sometimes don't return all songs
Author
Owner

@BedirT commented on GitHub (Oct 24, 2021):

Hello, I think this should be on the documentation. @sigma67

<!-- gh-comment-id:950281360 --> @BedirT commented on GitHub (Oct 24, 2021): Hello, I think this should be on the documentation. @sigma67
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ytmusicapi#145
No description provided.