Yucked / Victoria

🌋 - Lavalink wrapper for Discord.NET. Provides more options and performs better than all .NET Lavalink libraries combined.
https://github.com/Yucked/Victoria/wiki
193 stars 48 forks source link

Added a track encoder and decoded the remaining track properties #132

Closed RofLBotZ94 closed 2 years ago

RofLBotZ94 commented 2 years ago

Here's the track encoder and I also changed the decoder a bit to also read the "position" and "source" properties, which lead me to change the LavaTrack ctor from taking a TimeSpan for the position to a long, just like the duration basically.

RofLBotZ94 commented 2 years ago

Oh, sorry let me just document the TrackEncoder class, it slipped my mind.