Comments (5)
You mean you do not know in which channel the player was before disconnecting because the player resets the voice channel? How about a "PlayerDisconnectEvent" which contains the voice channel the player disconnected from?
from lavalink4net.
Yes, that would work too.
If the player gets disposed and removed then that event will help me to post some notifications that the player was disconnected.
from lavalink4net.
Okay, I've implemented the "PlayerDisconnected" and "PlayerConnected" (in f4de3f6) which both hold the voice channel identifier connected to/disconnected from. The "PlayerDisconnected" also holds a cause which indicates the reason why the player disconnected (see possible causes: PlayerDisconnectCause.cs).
from lavalink4net.
Awesome, I can't wait to try it.
from lavalink4net.
👌 Package (v1.4.6) is publishing 😊 Thanks!
PR: #19
from lavalink4net.
Related Issues (20)
- TrackEncoder.Encode broken HOT 6
- ArtworkProvider doesn't work properly for SoundCloud tracks HOT 1
- Allow looping of the queue. HOT 7
- Lavalink4NET.DiscordNet.GetChannelUsersAsync doesn't work HOT 6
- [Bug?] TrackEnd fires multiple times at once. [Question] Using rest instead of websocket? HOT 4
- REST API Support HOT 13
- Lavalink4NET.DSharpPlus 3.0.0 seems to be incompatible with DSharpPlus versions above 4.3.0 HOT 2
- LoadTracksAsync null reference exception
- IPlayerManager.RetrieveAsync completely locks up HOT 6
- Bug: Player parameters not taken into account. HOT 3
- LavalinkNode does not recover from an unexpected websocket terminaison HOT 1
- Inactivity tracking notifications not called HOT 2
- DisposeAsyncCore seems to get fired multiple times HOT 4
- Skipping track with an empty queue always adds a `TrackQueueItem` to the history, rather than the actual item that was played HOT 4
- "Player stopped" status when trying to play music / Player not playing anything when using YouTube as a source HOT 5
- Error when trying to get the player using Discord.Net HOT 3
- Allow extending LavalinkClusterNode HOT 1
- Allow retrieving info about player' cluster HOT 3
- Allow to store additional info along with track HOT 2
- Allow to create user defined LavalinkTrack HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lavalink4net.