[Bug Report] Playing a m3u file from a URL only plays the first song
- Dominant language
- Java
- Stars
- 5.8k
- Forks
- 2.8k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
When a m3u file is played, the bot only plays the first song
**To Reproduce**
1: host a m3u file and some mp3 files somewhere
2: ~play https://example.com/play.m3u
**Expected behavior**
I'd expect the bot to load everything from the playlist
**Debug Info**
```
System Properties:
java.version = 11.0.6
java.vm.name = OpenJDK 64-Bit Server VM
java.vm.specification.version = 11
java.runtime.name = OpenJDK Runtime Environment
java.runtime.version = 11.0.6+10-post-Debian-1deb10u1
java.specification.version = 11
os.arch = amd64
os.name = Linux
JMusicBot Information:
Version = 0.2.7
Owner = 266140088138858496
Prefix = @mention
AltPrefix = null
MaxSeconds = 0
NPImages = false
SongInStatus = false
StayInChannel = false
UseEval = false
UpdateAlerts = true
Dependency Information:
JDA Version = 3.8.3_464
JDA-Utilities Version = 2.1.5
Lavaplayer Version = 1.3.34
Runtime Information:
Total Memory = 126
Used Memory = 45
Discord Information:
ID = 689558256548446317
Guilds = 1
Users = 31
# Actually a docker container
```
The m3u file contains just links, one on each line, all mp3s. It also has `#EXTM3U` on the first line as per spec
Contributor guide
No contributing guide indexed for this repository
Research direction
The report names no source file, test, or entry point. Start by reproducing the issue with a hosted m3u file containing multiple MP3 links, then trace how the ~play command handles playlist URLs. Done means the bot loads and plays every listed song rather than only the first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100