PythonistaGuild / Wavelink

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

Add populate feature to Player.play #300

Closed EvieePy closed 7 months ago

EvieePy commented 7 months ago

Description

Adds the popluate feature back to Player.play.

If a track is successfully played, populate will search for recommendations when populate is set to True.

Added max_populate keyword argument to control the maximum amount of tracks that can be added.

Checklist

EvieePy commented 7 months ago

Also converted pyproject.toml to use ruff instead of black so it's likely all checks will fail on linting.

AbstractUmbra commented 7 months ago

Approved but codebase currently doesn't meet the new ruff standards. Is this a WIP or should this branch also cover these new additions?

EvieePy commented 7 months ago

Approved but codebase currently doesn't meet the new ruff standards. Is this a WIP or should this branch also cover these new additions?

Ya I just added the workflow in this branch by accident so it's failing. I will runn ruff now if everything else looks fine, I just didn't run it due to it probably changing a tonne