Wavelink

Latest version: v3.4.1

Safety actively analyzes 682449 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 13

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:
py
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

2.4.0

2.0.1

This is the first release of Wavelink 2.0 for public use.

Please report any bugs via GitHub or in the Help/Development channels on Discord.

GitHub: https://github.com/PythonistaGuild/Wavelink
Documentation: https://wavelink.readthedocs.io/en/latest/index.html
Small Examples: https://github.com/PythonistaGuild/Wavelink/tree/main/examples

- Better Spotify support, with more metadata and AutoPlay recommendations (See below)
- AutoPlay feature with Auto-filling queue. Please see examples on how to add a simple auto play command with Spotify.
- Supports Lavalink 3.7+. Does not support anything lower. Please upgrade Lavalink to 3.7+ to use Wavelink 2.
- For bots with more than one Node, players have the ability to seamlessly switch Nodes during playback in case of downtime. Examples to come.
- Looping now built into wavelink.Queue. You can loop one or all songs continuously.
- YouTube tracks can now fetch a thumbnail via a request for guaranteed thumbnails.
- Plus more, with more to come in later releases.

This release includes a small bugfix to websocket.

2.0

1.3.5

Fix a bug when moving the bot across channels.

1.3.4

Fix player._source returning None after being replaced.

Page 3 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.