While its logic is correct, #176 introduced a bug where the bot unexpectedly idle disconnects. This is because sometimes skipping a track does not remove it from the queue, but instead keeps it at the top in a paused state. This makes the idle counter not reset and thus may prompt the bot to disconnect earlier than expected if this bug persists on the following tracks.
We should investigate how Songbird handles skipping a track. We've had this issue in the past, which forced us to implement the force_skip_top_track method.
🪜 Reproduction Steps
Trace the counter in idle.rs
Queue multiple songs
Arbitrarily skip and notice that sometimes the counter keeps incrementing
📝 Description
While its logic is correct, #176 introduced a bug where the bot unexpectedly idle disconnects. This is because sometimes skipping a track does not remove it from the queue, but instead keeps it at the top in a paused state. This makes the idle counter not reset and thus may prompt the bot to disconnect earlier than expected if this bug persists on the following tracks.
We should investigate how Songbird handles skipping a track. We've had this issue in the past, which forced us to implement the
force_skip_top_track
method.🪜 Reproduction Steps
idle.rs
ℹ Environment / Computer Info
v1.3.1
Windows
📸 Screenshots
No response