Androz2091 / discord-player

🎧 Complete framework to simplify the implementation of music commands using discord.js v14
https://discord-player.js.org/
MIT License
589 stars 192 forks source link

When running the skip operation 2 times in a row, the playback becomes broken #1870

Closed RFKaya closed 8 months ago

RFKaya commented 10 months ago

Describe the bug That even though there are enough songs in the queue, if we try to skip a song again too soon after skipping a song (before the new song starts), playback is broken.

To Reproduce Add a few or more songs to the queue. (At least 3) After skipping a song with the .node.skip() function, skip the song again with the same function before the new song starts. (For the problem to occur, there must be an interval of 500-1500 ms between two song skipping operations. If it is too early or too late, the problem does not occur.) And playback becomes broken.

Expected behavior The player is expected to move on to the next song.

Screenshots image image

Please complete the following information:

Additional context The same problem occurs in discord-player@6.6.7-dev.0 version.