[GH-ISSUE #514] get_library_playlists returns at most 25 playlists #375

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

Originally created by @rtammekivi on GitHub (Jan 13, 2024).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/514

Describe the bug
I recently made some new playlists and noticed that the API is not detecting some playlists anymore. After fiddling around with limit= parameter, it seems like at most, 25 playlists are always returned, regardless of what the limit is.

To Reproduce

Create more than 25 playlists in YouTube Music.

from ytmusicapi import YTMusic

ytmusic = YTMusic('oauth.json')
print(len(ytmusic.get_library_playlists(limit=None)))
./python test.py
25

ytmusicapi 1.4.2

Originally created by @rtammekivi on GitHub (Jan 13, 2024). Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/514 **Describe the bug** I recently made some new playlists and noticed that the API is not detecting some playlists anymore. After fiddling around with `limit=` parameter, it seems like at most, 25 playlists are always returned, regardless of what the limit is. **To Reproduce** Create more than 25 playlists in YouTube Music. ```python from ytmusicapi import YTMusic ytmusic = YTMusic('oauth.json') print(len(ytmusic.get_library_playlists(limit=None))) ``` ```console ./python test.py 25 ``` ytmusicapi 1.4.2
kerem 2026-02-27 23:00:27 +03:00
  • closed this issue
  • added the
    yt-error
    label
Author
Owner

@rtammekivi commented on GitHub (Jan 13, 2024):

After more digging, this actually seems broken on website client aswell 🤯 . When scrolling down in https://music.youtube.com/library/playlists , it will show loading infinitely. The problem does not appear when going through YouTube interface, but I guess there is no way to fix this on this library side then ¯_(ツ)_/¯

<!-- gh-comment-id:1890424133 --> @rtammekivi commented on GitHub (Jan 13, 2024): After more digging, this actually seems broken on website client aswell :exploding_head: . When scrolling down in https://music.youtube.com/library/playlists , it will show loading infinitely. The problem does not appear when going through YouTube interface, but I guess there is no way to fix this on this library side then ¯\_(ツ)_/¯
Author
Owner

@sigma67 commented on GitHub (Jan 13, 2024):

Thanks for cross-checking. I assume it's a server-side problem that will probably be solved in a few days.

Don't hesitate to pester Google support about it 😉

<!-- gh-comment-id:1890428093 --> @sigma67 commented on GitHub (Jan 13, 2024): Thanks for cross-checking. I assume it's a server-side problem that will probably be solved in a few days. Don't hesitate to pester Google support about it 😉
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#375
No description provided.