Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_album doesn't fetch audioPlaylistId for some albums #675

Open
srajangarg opened this issue Nov 7, 2024 · 0 comments
Open

get_album doesn't fetch audioPlaylistId for some albums #675

srajangarg opened this issue Nov 7, 2024 · 0 comments

Comments

@srajangarg
Copy link

srajangarg commented Nov 7, 2024

Describe the bug
get_album doesn't fetch audioPlaylistId for some albums. whether it is authenticated or not, both fail

To Reproduce

from ytmusicapi import YTMusic


ytmusic = YTMusic("oauth.json")
ytmusic2 = YTMusic()

browse_id = "MPREb_6egF9klMJg7"

album_details = ytmusic.get_album(browse_id)
print(album_details['audioPlaylistId'])

album_details = ytmusic2.get_album(browse_id)
print(album_details['audioPlaylistId'])

# verify that a playlist id for this album does exist
expected_playlist_id = "OLAK5uy_k8nXdYeGt9_ES_a_n-UHkL2W3n2coCR_4"
fetched_browse_id = ytmusic.get_album_browse_id(expected_playlist_id)
assert fetched_browse_id == browse_id

prints

None
None

with the assert passing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant