mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 23:36:00 +03:00
[GH-ISSUE #633] search: playlistId always returns None on albums #430
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#430
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 @sushiroles on GitHub (Jul 28, 2024).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/633
When using the search function to search for albums, ytmusicapi returns the playlistId value as None.
This occurs for all albums under the "Albums" category, weirdly albums in the "Top result" category are exempt from this.
Aside playlist ID-s, they're also missing durations.
I am using a computer running Windows 11 version 23H2.
I am using the newest version of ytmusicapi, which is at the time of writing 1.8.0.
Issue persists on both authenticated and unauthenticated instances.
Here is a snippet of the JSON returned after running
ytmusic.search('radiohead album')to illustrate my issue:@sigma67 commented on GitHub (Jul 28, 2024):
Good catch, it's actually available
The reason it works for top results is that the parsing is different there. As you can tell from the UI the return format is totally different