Releases: devoxin/Lavalink.py
Releases · devoxin/Lavalink.py
Lavalink.py 5.2.0
Additions
- Added public
Node.request
method for making HTTP requests. - Added
Client.remove_event_hooks
method.
Fixes
- Fix a potential issue where
player.current
would be set toNone
upon receiving subsequentTrackStartEvent
s. - Fix
position
potentially reading incorrectly when a non-zerostart_time
was provided. - Fix
player.paused
potentially holding an incorrect state if the player is paused and then skipped (forcing an un-pause).
Changes
- Documentation improvements.
- Improve robustness of player failover.
Lavalink.py 5.1.0
Additions
- Node.get_rest_latency()
Lavalink.py 5.0.0
This release adds support for Lavalink server v4 (with REST API).
For a full changelog, you can view the commits here
Lavalink.py 4.0.7
Fixes
- Fix bad
endTime
check.- Additionally, raise minimum
endTime
duration to1
.
- Additionally, raise minimum
Additions
- Add
LoadResult.selected_track
convenience property. - Add
Client.get_source()
convenience method.
Changes
- Raise original error in
utils.timestamp_to_millis
. - Slight improvement to
DefaultPlayer.play
documentation to clarify the difference between it andBasePlayer.play_track
.
Lavalink.py 4.0.6
Fixes
- Fixed
DefaultPlayer.play
not throwing if the provided track does not have atrack
str, and it is not an instance ofDeferredAudioTrack
.
Additions
- Add return type to
utfm_codec.read_utfm
. - Add return type to
utils.encode_track
. - Improved typedefs of
Stats
object. - Improved typedefs of
Penalty
object. - Improved typedefs of
Node
. - Improved typedefs of
NodeManager
. - Improved typedefs of
PlayerManager
. - Improved typedefs of
QueueEndEvent
. - Improved typedefs of
PlayerUpdateEvent
. - Improved typedefs of
WebSocketClosedEvent
. - Improved typedefs of track events.
- Improved typedefs of node events.
Lavalink.py 4.0.5
- Added
ping
field toPlayerUpdateEvent
after it somehow got removed. - Added
Node
type def toBasePlayer.node
,BasePlayer.change_node
, andDefaultPlayer.__init__
. - Changed
Equalizer.update
to also acceptfloat
for thegain
value.
Lavalink.py 4.0.4
Fixes
- Use asyncio.gather over asyncio.wait
Additions
- Add rudimentary track encoding support
Changes
- Don't default to -1 if frame stats missing.
Lavalink.py 4.0.3
Fixes
- Fix
DefaultPlayer._last_update
being incorrectly reset inplay()
leading to brief periods whereposition
would read incorrectly between tracks.
Lavalink.py 4.0.2
- Fix
**extra
not being used when AudioTrack is passed an instance of itself.
Lavalink.py 4.0.1
Additions
NodeManager.get_nodes_by_region
Changes
NodeManager.DEFAULT_REGIONS
- These now correlate with Discord's RTC regions.