mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 07:16:00 +03:00
[GH-ISSUE #455] get_liked_songs works incorrectly or maybe yt music api doesnt return all data #338
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#338
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 @veber88 on GitHub (Oct 10, 2023).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/455
I call
get_liked_songsfor my Liked playlist. Playlist has 6055 songs, but i receive 5750 songs. Seems this is an issue.Same problem when I use
ytmusic.get_playlist('LM', 100000)@sigma67 commented on GitHub (Oct 10, 2023):
IIRC 5k songs is the official limit of YTMusic playlists, so I'm not surprised there are oddities above that limit
https://www.reddit.com/r/YoutubeMusic/comments/gl0wvw/songs_limits/fquxowq/
@veber88 commented on GitHub (Oct 10, 2023):
But i dont receive 5000 as max, i receive 5750. Therefore i think issue isnt related to limit.
@sigma67 commented on GitHub (Oct 10, 2023):
All I'm saying is: this is probably the cause of the unstable behavior. No idea why it's giving you more than 5k songs.
Either way, this is not really something we can fix here.
@veber88 commented on GitHub (Oct 11, 2023):
Ok, thanks for answer!
@veber88 commented on GitHub (Oct 11, 2023):
I think this could be related to songs that became unavailable.
I found for test 1 unavailable song and it wasnt returned to me via ytmusicapi.
But yt music app shows this song in list (as unavailable song but it is still in list). That means that their api returns all songs even for unavailable ones.
@sigma67 commented on GitHub (Oct 11, 2023):
You could try to open the entire playlist on the web (keep scrolling down) and count the unavailable ones?
Although the function used for
get_liked_songsis able to parse unavailable songs correctly, i.e. if you fetch a playlist with unavailable songs they show up in the result.