Just-Some-Bots / MusicBot

:musical_note: The original MusicBot for Discord (formerly SexualRhinoceros/MusicBot)
https://just-some-bots.github.io/MusicBot/
MIT License
3.09k stars 2.35k forks source link

Multiple playlists and local media files. #2403

Closed itsTheFae closed 1 month ago

itsTheFae commented 1 month ago

Description

Adding multi-playlist features and the ability to play local media. All new playlist features are managed by the autoplaylist command.

This PR enables guild-specific playlists by setting separate playlist names for each guild.
MusicBot can now save a list of played songs per-guild and/or globally.

Local media is identified by the use of file:// as a URI scheme when using play commands. These file 'URL' can be included in playlists to enable playing local media files between files sourced remotely. Local media is disabled by default and the source directory can be configured via MediaFileDirectory config option.

As a side note. These last few PRs have probably left dev in a broken state. The last PR in the series will contain mostly bug fixes that should leave it working again.

Related issues (if applicable)

Could close these issues:

1842 #1004 #921 #443 #44 #43

168 -- now possible via file:// scheme and playlists.