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

feat(YouTube Playlist): Add subtitle and fix author optionality #458

Merged
merged 1 commit into from
Jul 30, 2023

Conversation

absidue
Copy link
Collaborator

@absidue absidue commented Jul 30, 2023

With the addition of the releases channel tab, it is now a lot easier to stumble across auto-generated album playlists. Unlike normal playlists, these album ones don't seem to be tied to a specific channel. Instead of having channel information (thumbnail, name, link id, etc), they have a subtitle in this format: {artist/artists separated by commas} • Album.

This pull request adds support for these playlists, so that YouTube.js no longer provides an empty Author object.

Example playlists:
One artist: https://www.youtube.com/playlist?list=OLAK5uy_lM3m05hKVY9vbzZH5lJpVKZKUQ-v_iTz4
Two artists: https://www.youtube.com/playlist?list=OLAK5uy_mYnfMbIG74obySLdWtKKGj_MJ-YZqVTu0

@LuanRT LuanRT merged commit 0fa5a85 into LuanRT:main Jul 30, 2023
4 checks passed
@absidue absidue deleted the album-playlists branch July 30, 2023 19:01
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.

None yet

2 participants