Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

TheKrafter/Soundtrack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Soundtrack

ko-fi

A Discord Bot to play soundtracks in VC

Intended for Dungeons and Dragons campaigns, for cool music stuffs :).

This project has moved to Codeberg.

Running

Prerequisites

  • ffmpeg
  • python3

Flit:

pip install -U flit

Install

Note: Soundtrack has only been tested on Linux. While portability has been kept in mind, other operating systems are not supported and incompatibility will not be fixed.

# Get the code
git clone https://github.com/TheKrafter/Soundtrack.git
cd Soundtrack

# Install (use `--symbolic` for development)
flit install

# Run
python3 -m soundtrack

Note: You must enable the Server Members Intent for your bot in the Discord Developers Portal.

Notes

  • Designed for use by a single server
  • Audio is lossy (compressed)
  • Titles must be valid YAML keys
  • Files are stored in XDG Base Directories:
    • config.yml at $XDG_CONFIG_HOME/soundtrack/config.yml
      • To quickly edit your config file, try nano $(python -m soundtrack -c)!
    • Track files and index.yml track index are stored in $XDG_DATA_HOME/soundtrack/
  • Can only be connected to 1 Voice Channel at a time

License

Soundtrack, Copyright (c) 2023 Krafter Developer, is licensed under the MIT License.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

[moved to Codeberg] A Discord Bot to play soundtracks in VC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages