Go to file
2020-09-30 17:27:09 +02:00
patches faster Report Limits 2020-09-21 09:56:46 +02:00
src improve play message 2020-09-30 17:27:09 +02:00
.dockerignore fix dockerignore 2020-09-08 14:06:24 +02:00
.eslintrc.json fix lint 2020-09-23 17:06:20 +02:00
.gitignore added config to gitignore 2020-09-08 13:25:47 +02:00
config.json added aditional config 2020-09-08 13:24:10 +02:00
Dockerfile only install production in docker 2020-09-21 05:39:22 +02:00
LICENSE.md Update messages sent to users 2020-09-22 15:37:45 +03:00
package.json fix breaking api client change 2020-09-23 18:05:23 +02:00
parseENV.js improve play message 2020-09-30 17:27:09 +02:00
README.md improve play message 2020-09-30 17:27:09 +02:00

Jellyfin Discord Music Bot

Jellyfin Discord Music Bot is a Discord Bot for the Jellyfin Media Server!

Capabilities

Commands

Beware that you'll always need to add your prefix(default: ?) in front of the command.

Command Description
summon Join the channel the author of the message(now you can cast to the Bot from within Jellyfin)
disconnect Disconnect from all current Voice Channels
play Play the following item(can be the name of the song or the Stream URL)
pause/resume Pause/Resume audio
seek Where to Seek to in seconds or MM:SS
skip Skip this Song
help Display the help message

Limitations

  • Multi Server support.
  • Playing Video Content (if Discord ever adds this, I'll implement it into this Bot)

Getting Started

You'll need a Discord Application for this Bot to work, as you will host it yourself.

How to retrieve your token

How to invite the Bot to your server

The simplest way to get started is using Docker:

docker run -d \
    --name jellyfin-discord-music-bot \
    -e DISCORD_PREFIX="?" \
    -e DISCORD_TOKEN="yourtokengoeshere" \
    -e JELLYFIN_SERVER_ADDRESS="https://jellyfin.DOMAIN" \
    -e JELLYFIN_USERNAME="" \
    -e JELLYFIN_PASSWORD="" \
    -e JELLYFIN_APP_NAME="Jellyfin Discord Music Bot" \
    -e MESSAGE_UPDATE_INTERVAL="2000" \
    --restart unless-stopped \
    kgt1/jellyfin-discord-music-bot

Alternatively you can run the Application natively with NodeJS:

Dependencies:

  • npm 6.14.6
  • NodeJS v12.18.3
  • ffmpeg 4.2.4
git clone https://github.com/kgt1/jellyfin-discord-music-bot.git
cd jellyfin-discord-music-bot
npm install

edit config.json and add your token,server-address etc.

npm run start

How to build

git clone https://github.com/kgt1/jellyfin-discord-music-bot.git
cd jellyfin-discord-music-bot
docker build -t YOUR_IMAGE_NAME .