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

fix(Playlist): Add thumbnail_renderer on Playlist when response includes it #424

Merged
merged 1 commit into from
Jun 28, 2023
Merged

fix(Playlist): Add thumbnail_renderer on Playlist when response includes it #424

merged 1 commit into from
Jun 28, 2023

Conversation

Rikthepixel
Copy link
Contributor

Description:

PR add thumbnail_renderer to the Playlist YTNode. It is given in most response, but not all, so it is an optional prop.

Changes:

  • Add a new property to the Playlist YTNode called thumbnail_renderer of type PlaylistVideoThumbnail | undefined

Related Issue:

Fixes: #423

Testing:

I tested the code by linking the library to Freetube and logging out the playlist object. The thumbnail_renderer is there when it is given in the response.

@LuanRT LuanRT merged commit 4f9427d into LuanRT:main Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5.1.0 - Playlist parser class ignores thumbnailRenderer
2 participants