/JDA-Player

Extension library for JDA (or D4J) that provides an Java wrapping of Youtube-dl, FFmpeg and FFprobe for use as an AudioProvider.

Primary LanguageJavaApache License 2.0Apache-2.0

JDA-Player

JDA-Player is a music player implementation for JDA (Java Discord API) which provides functionality to stream audio to a Discord VoiceChannel.

Deprecated

JDA-Player is deprecated and we will no longer offer support for possible issues and bugs.

Please use a more powerful library like lavaplayer, which is way more efficient and optimized, and runs exclusively on Java (no need for ffmpeg/ytdl/python).

If you have any questions feel free to join the JDA Guild on Discord and request support in the lavaplayer channel.

Information

JDA-Player provides functionality to do this from both local files (LocalSource) and from remote sources like Youtube and Soundcloud (RemoteSource). It uses Youtube-dl for remote resource downloading, a combination of Youtube-dl and FFprobe for info gathering, and FFmpeg for audio encoding/decoding and general processing.

JDA-Player also has support for Discord4J, an alternate api to JDA. This separate verison is refered to as D4J-Player, but it remains within this repo.

Wiki/Examples

We provide a small set of examples in the Repository's Wiki. If you need further help you can join the Discord Guild to ask any possible questions.

Dependencies

This project requires:

Installation