serenity-rs / songbird

An async Rust library for the Discord voice API
ISC License
384 stars 110 forks source link

How can i handle Playlists #144

Open joetifa2003 opened 2 years ago

joetifa2003 commented 2 years ago

I want to handle playlist links and spread the songs to the queue. The current behavior is that it will add all the songs as a single track so if i skip it will skip all songs in the playlist

FelixMcFelix commented 2 years ago

From lack of context, I assume you're on v0.3? You can likely parse the json output from yt-dlp yourself and create sub-requests that way -- this version won't receive any new features.

You could do the same on next, but supporting it natively would take some more thought that I don't have time to put in.

joetifa2003 commented 2 years ago

Ok, I'll parse it manually then. Another quick question how can i loop the entire queue?