mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 15:26:01 +03:00
[GH-ISSUE #366] Some playlists only returning 100 tracks, regardless of limit in get_playlist #290
Labels
No labels
a/b
bug
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
yt-error
yt-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ytmusicapi#290
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @scrimshander on GitHub (Mar 26, 2023).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/366
In the last few days, I have seen some of my playlists only returning 100 tracks via
get_playlist, regardless oflimit. The behavior is consistent per playlist, but I cannot find any systematic difference between the ones that seem limited to 100 and the others. I have tried setting public/private, etc. This is new behavior - I am constantly managing the same group of playlists with this call and have not changed anything in my code for some time.Copying a "bad" playlist to a new one results in good behavior from the new playlist.
Has anyone ever seen similar behavior? I will keep trying and see if it clears up.
@sigma67 commented on GitHub (Mar 27, 2023):
I believe this is related to issue #365. Have you check with latest master?
@scrimshander commented on GitHub (Mar 28, 2023):
Ah yes, those look to be the same thing. I have not tried the latest code,
only latest release. Will do!
On Mon, Mar 27, 2023, 4:09 AM sigma67 @.***> wrote:
@rtammekivi commented on GitHub (Mar 31, 2023):
Fixed for me on latest release 👍
@dataNerd23 commented on GitHub (Jun 15, 2023):
I still have this problem with my playlist. I'm using python 3.11.4 and ytmusicapi 1.0.2. I've tried setting the limit=None and limit=1000 with no avail. My playlist size is 208.
Also, I get the same issue mentioned in #365.
@sigma67 let me know if you want me to send you the playlist link privately.
@dataNerd23 commented on GitHub (Jun 15, 2023):
I also found out that the duration has the track count, trackCount returns the first two digits of the views, and views returns nothing. I think this is an off by one error.
@dataNerd23 commented on GitHub (Jun 15, 2023):
I fixed the issue by pulling from the master directly, and I specifically noticed the difference in the following lines from playlist.py:
https://github.com/sigma67/ytmusicapi/blob/d9f9fcc1477ead219e7c06c593574ba8cc13fe52/ytmusicapi/mixins/playlists.py#L137-L143
I just noticed this fix occurred after the latest version (1.0.2).
@sigma67 commented on GitHub (Jun 15, 2023):
Yes, I've been slacking on the release. Will push one today.