PythonistaGuild / Wavelink

A powerful Lavalink library for Discord.py.
https://wavelink.dev
MIT License
389 stars 179 forks source link

auto_queue not popularing when running wavelink.Player.play #290

Closed Kingi-s closed 4 months ago

Kingi-s commented 6 months ago

Hi, in v2.6.3 wavelink.Player.play had a parameter to set populate = True, version 3.0.0 and above doesnt seem to have that. Previusly the auto_queue would populate when running wavelink.Player.play with parameter populate=True, but now the auto_queue doesnt seem to populate until the player starts actually playing from the auto_queue.

EvieePy commented 6 months ago

This was a slight oversight on my part, I have noticed the behaviour myself, I will probably re-add the populate kwarg to player.

munishkhatri720 commented 6 months ago

Currently, I am manually populating the auto_queue when autoplay mode is set to partial, as Wavelink doesn't populate the auto_queue in partial autoplay mode. However, I want it to only play auto_queue tracks when autoplay mode is set to enabled. Actually, I want to send a drop-down with a track start message for the recommended tracks based on the currently playing tracks, so adding the populate kwarg will be helpful.