jagrosh / jagrosh/MusicBot

[Bug Report] Unexpected behavior when default playlist is set

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

Description

**Describe the bug**
I have my default playlist set via `autoplaylist`. When I `play`, the help for the command shows up but the music still starts to play

**To Reproduce**
Steps to reproduce the behavior:
1. set default playlist via `autoplaylist` eg: `&autoplaylist saya`
2. use `play` eg: `play`, no parameters or anything, just `play`.

**Expected behavior**
I expected it to say something like "Loading default playlist (name)"

**Screenshots**
1. what I did
![image](https://user-images.githubusercontent.com/20792268/68219578-35843900-0021-11ea-86a9-305a22c253df.png)

2. Note that it is clearly playing something, yet it did not show the "Loading item" message
![image](https://user-images.githubusercontent.com/20792268/68219944-c6f3ab00-0021-11ea-94cc-0a9535a3f367.png)

**Version Info (please complete the following information):**
- Operating System: Raspbian GNU/Linux 10 (buster) armv6l (RPi Zero 1.3)
- JMusicBot Version: v0.2.5

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue by setting the default playlist with `autoplaylist saya`, then running `play` without arguments on JMusicBot v0.2.5. Start from the handling for the `autoplaylist` and `play` commands and trace why help is shown while playback begins. Done means `play` reports that it is loading the configured default playlist while still starting playback correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
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.