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

[YouTube] Add support for new playlist items data structure #1240

Merged
merged 2 commits into from
Nov 14, 2024

Conversation

AudricV
Copy link
Member

@AudricV AudricV commented Nov 10, 2024

This PR adds support for new playlist item data structure (a lockupViewModel with a LOCKUP_CONTENT_TYPE_PLAYLIST contentType value) which is A/B tested or rolled out. It is used for every playlist type (regular playlists, podcasts, courses and mixes) in a lot (if not all) surfaces of YouTube.

A new icon is now used to distinguish official artist channels, this PR also adds support for them in playlist items and channels (other places seem unaffected as there is already other supported data to get the verification status of a channel).

Fixes TeamNewPipe/NewPipe#11689.

This method will be used in more places such as the new playlist item
data.

Support for a new icon used in artist channels has been also added.
This new data type, A/B tested or rolled out at the time the changes
are commited, is present on multiple surfaces.
@AudricV AudricV added bug Issue is related to a bug youtube service, https://www.youtube.com/ labels Nov 10, 2024
Copy link
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! We should do a release soon I guess.

@Stypox Stypox merged commit d3d5f2b into TeamNewPipe:dev Nov 14, 2024
3 of 4 checks passed
@AudricV AudricV deleted the yt_fix-playlists-items-extraction branch November 14, 2024 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug youtube service, https://www.youtube.com/
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[YouTube] Cannot load sometimes playlists from channels, searches and related items in videos
2 participants