jagrosh / MusicBot

🎶 A Discord music bot that's easy to set up and run yourself!
https://jmusicbot.com
Apache License 2.0
5.22k stars 2.5k forks source link

[Bug Report] Playing a m3u file from a URL only plays the first song #364

Open MagicRB opened 4 years ago

MagicRB commented 4 years ago

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

jagrosh commented 4 years ago

This is likely a bug or limitation of lavaplayer; it might be worth opening an issue there as JMusicBot would just feed that kind of link right to lavaplayer.

MagicRB commented 4 years ago

shall i close this then? i'll report there, just asking it's worth keeping this open

jagrosh commented 4 years ago

It's fine to keep it open until resolved so that others with this same issue will see this.

MagicRB commented 4 years ago

ok

MichailiK commented 2 years ago

Minor note: This issue is still present.