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

Handle playlist links with specific song selected #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

themadprofessor
Copy link
Contributor

If a link contains both a video and a playlist, it will now only add the specific video, not the whole playlist.

@freyacodes
Copy link
Owner

This looks like it will make it difficult to add a playlist to the queue

@themadprofessor
Copy link
Contributor Author

Playlists can still be added. https://www.youtube.com/playlist?list=... will queue the playlist, whereas https://www.youtube.com/watch?v=...&list=... will queue just the video. This could be put behind a config variable, keeping the existing method if its false.

@freyacodes
Copy link
Owner

The current behavior is deliberate

An acceptable solution would instead be to ask the user if they prefer one track or all tracks when using such a URL. This could ideally be done with buttons https://discord.com/developers/docs/interactions/message-components

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.

2 participants