Skip to content

v2.5.0

Compare
Choose a tag to compare
@EvieePy EvieePy released this 15 Jun 02:34
· 288 commits to main since this release

Version 2.5.0:

  • Player.disconnect() now invalidates the player and discord.py voice client caches as soon as it is called.
  • Added Queue.shuffle(). This shuffles the queue in-place. E.g. player.queue.shuffle()
  • Removed return_first keyword argument from all tracks including SpotifyTrack. Keeping this around has been a poor design choice for wavelink. Previously this resulted in Exceptions being raised if no tracks were found. Now an empty list or a list populated with tracks is always returned. Example of handling tracks:
tracks = await wavelink.YouTubeTrack.search(query)
if not tracks:
    # No tracks were found, handle that here...
    ...

track = tracks[0]
  • Fixed __eq__ on SpotifyTrack.
  • Added __str__ and __repr__ to SpotifyTrack
  • Changed: wavelink.YouTubeTrack/YouTubeMusicTrack now set the default thumbnail URL to the fetched thumbnail if .fetch_thumbnail() is used.
  • Changed: If a URL is passed to any Playable.search() it is treated as a raw search without the search prefix. This helps make searching services like SoundCloud more precise.

Documentation: https://wavelink.dev