Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add feature to load directory of songs as playlist #1338

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TsonT
Copy link

@TsonT TsonT commented Mar 26, 2023

This pull request...

  • Introduces a new feature

Description

Allows the input of a directory into a playlist .txt file so that all the songs in the directory are added to the playlist.

Uses the java method isDirectory to see if the string is a valid directory and then fetches all the file paths of the songs in that directory. Does not currently check if the files in the directory are audio files supported by the Bot.

Purpose

Currently have to fetch the file paths yourself using a script and copying over. Allows for ease of use for less technically inclined users.

Relevant Issue(s)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant