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

track_number fails on disabled tracks #515

Closed
jcbirdwell opened this issue Jan 13, 2024 · 0 comments · Fixed by #516
Closed

track_number fails on disabled tracks #515

jcbirdwell opened this issue Jan 13, 2024 · 0 comments · Fixed by #516

Comments

@jcbirdwell
Copy link
Contributor

Describe the bug
Calling get_album on an album containing a disabled, but not removed or deleted, track throws a value error. This is the result of the response having all the keys for the index (nav won't return None) but with a blank space value ' ' instead of the actual track number.

To Reproduce
get_album('MPREb_YuigcYm2erf')

Additional context
Unsure if its a regionally disabled track, but it's reproducible with an unauthorized client with location set to 'US'.
Album playlist link for visual context: https://music.youtube.com/playlist?list=OLAK5uy_nQ50qK0OQks_zc_jjn0IvWb7Vg1vo0s5Y

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

Successfully merging a pull request may close this issue.

1 participant