jagrosh / jagrosh/MusicBot

[Bug Report] Mixcloud support doesn't seem to work

Open
#1,499 2 comments 2 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

I read in the latest release notes that mixcloud is supported now. When trying to actually play a file from mixcloud however, I unfortunately always get

> 🚫 Error loading: Unknown file format.

returned from the bot.

### Steps to Reproduce

1. Type `!play ` into chat

### Expected Result

Music from mixcloud should start playing.

### Debug Output

```
System Properties:
java.version = 18.0.2-ea
java.vm.name = OpenJDK 64-Bit Server VM
java.vm.specification.version = 18
java.runtime.name = OpenJDK Runtime Environment
java.runtime.version = 18.0.2-ea+9-Ubuntu-222.04
java.specification.version = 18
os.arch = amd64
os.name = Linux

JMusicBot Information:
Version = 0.4.0
Owner = 172087253273673729
Prefix = !
AltPrefix = null
MaxSeconds = 0
NPImages = false
SongInStatus = false
StayInChannel = false
UseEval = false
UpdateAlerts = true

Dependency Information:
JDA Version = 4.4.1_353
JDA-Utilities Version = 3.0.5
Lavaplayer Version = 727959e9f621fc457b3a5adafcfffb55fdeaa538-SNAPSHOT

Runtime Information:
Total Memory = 80
Used Memory = 32

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

### 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

Start by reproducing the issue through the `!play ` command and inspect the playback path that returns `Unknown file format`. The payload names no source files or tests, so trace the Mixcloud handling from that command entry point. Done means a Mixcloud file can be requested and playback starts successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
audio-video-rtc
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.