jagrosh / jagrosh/MusicBot

[Feature Request] Better playlist selection

Open
#1,153 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
5.8k
Forks
2.8k
PR merge metrics
No merged PRs in 30d

Description

### Is your feature request related to a problem? Please describe.

The playlist feature is rather difficult to activate sometimes, especially for users that aren't incredibly technically inclined.
Loading a playlist is a separate command, the playlist title is case sensitive, and it's difficult to differentiate between different playlists in the list command.
![Invoking !play without the playlist subcommand](https://user-images.githubusercontent.com/78718829/162544525-d1475196-d416-4b08-a15d-7b21c7e4f777.png)
![Invoking !play playlist without proper capitalization](https://user-images.githubusercontent.com/78718829/162544537-e334325b-f3c3-4be2-b35a-1f61c8d7e054.png)
![The result of !playlist list with many playlists](https://user-images.githubusercontent.com/78718829/162544646-4722b0fc-46f9-46d4-9ed0-2af4a42ed6fc.png)
![Proper usage of the !play playlist command](https://user-images.githubusercontent.com/78718829/162544549-af7a2c16-6afa-4c7b-b93b-69e438682798.png)

### What is your ideal solution to the problem?

I feel that there should be a config option to have the bot check the playlist folder before searching YouTube and pull from there instead, if there's a match.

Playlist selection shouldn't be case sensitive. The titles look better capitalized in the !playlist list command, but it's confusing to invoke them with the exact same capitalization, especially if the bot owner or admins (example being myself) are inconsistent with capitalization.

I'm unfortunately not much of a developer, but as far as I understand there's already a paginator used elsewhere that could clean up !playlist list?

### How would this feature be used?

The playlist feature, while powerful, likely sees less usage because of these barriers to entry. The attached screenshots are only a couple of examples I've seen in a server with just 400 members.

Making the playlists (optionally) easier to access seems like a benefit for usability & customizability that is lacking in other music bots.

### Additional Info

Thank you for this wonderful bot!! Besides this (relatively minor) issue, our community has been loving it!

### Checklist

- [X] I have checked [the documentation](https://jmusicbot.com/) to make sure this feature doesn't already exist
- [X] I have searched for [similar feature requests](https://github.com/jagrosh/MusicBot/labels/enhancement)
- [X] I have confirmed that my requests is **not** on the [list of things that will not be added](https://jmusicbot.com/things-that-wont-be-added)
- [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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the existing !play and !playlist list command handlers, including the paginator used elsewhere. Define how local playlist matching, case-insensitive selection, and the optional configuration should interact, then verify that list output and selection work for similarly named playlists without requiring exact capitalization.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.