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

playlist search result "itemCount" field cast to int #589

Merged
merged 2 commits into from
May 25, 2024

Conversation

ryanopily
Copy link
Contributor

A search result of "resultType": "playlist" from YTMusic.search() contains a field "itemCount", which was always serialized as a json string, despite representing a number.

This pull request casts the python str to int, so "itemCount" is serialized as a json number.

@sigma67 sigma67 merged commit bd51238 into sigma67:main May 25, 2024
3 of 4 checks passed
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 this pull request may close these issues.

None yet

2 participants