jagrosh / jagrosh/MusicBot

[Bug Report] Bot stops playing

Open
#1,188 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.8k
Forks
2.8k
PR merge metrics
No merged PRs in 30d

Description

### Bug Description

When I use the command **play** command It play's the song I tell it to play, but when that song is done. It plays one song from my auto playlist, and then stops. When this happens, I can't use the play command anymore, as the bot "stops responding" and I have to restart the bot to get it to work again.

Look's like it auto skips all the numbers in the auto playlist, until it runs out of songs to play

### Steps to Reproduce

1. Request a song
2. Let it start playing from auto playlist
3. Stops responding when the first auto play song is done

### Next part
1. Close the bot on my server
2. Request a song
3. The bot joins the voice channel
4. The bot types that its playing the song i requested, but nothing is happening
5. I use the command !np too see what is playing, and the bot say that nothing is

### Expected Result

Keep playing songs from auto playlist

### Debug Output

```
System Properties:
java.version = 18.0.1.1
java.vm.name = Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.version = 18
java.runtime.name = Java(TM) SE Runtime Environment
java.runtime.version = 18.0.1.1+2-6
java.specification.version = 18
os.arch = amd64
os.name = Windows Server 2019

JMusicBot Information:
Version = 0.3.8
Owner = 18623811609126XXXX
Prefix = .
AltPrefix = @mention
MaxSeconds = 0
NPImages = false
SongInStatus = false
StayInChannel = true
UseEval = false
UpdateAlerts = true

Dependency Information:
JDA Version = 4.4.0_352
JDA-Utilities Version = 3.0.5
Lavaplayer Version = 1.3.78

Runtime Information:
Total Memory = 94
Used Memory = 63

Discord Information:
ID = 299677827064922113
Guilds = 1
Users = 2
```

### Additional Info

_No response_

### Checklist

- [X] I have looked for information about this [within the documentation](https://jmusicbot.com/)
- [X] I have searched for similar issues [on the issues page](https://github.com/jagrosh/MusicBot/issues?q=is%3Aissue)
- [X] I am running the latest version of the bot: ![Release](https://img.shields.io/github/release/jagrosh/MusicBot.svg)

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named. Start by reproducing the issue with the play command and an auto playlist, then trace the queue and playback handling after the first automatic song finishes. Done means the auto playlist continues playing and the play and !np commands still respond afterward.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
audio-video-rtc, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.