Template of Discord notifications for Jellyfin Webhook
Find a file
2025-05-17 14:48:21 +02:00
media 🌱 add - medias 2025-05-17 14:47:48 +02:00
.gitattributes Initial commit 2025-05-17 14:24:00 +02:00
playback-start.json 🔧 add - template json file 2025-05-17 14:48:18 +02:00
playback-stop.json 🔧 add - template json file 2025-05-17 14:48:18 +02:00
README.md Update README.md 2025-05-17 14:48:21 +02:00
successful-connection.json 🔧 add - template json file 2025-05-17 14:48:18 +02:00
user-creation.json 🔧 add - template json file 2025-05-17 14:48:18 +02:00

Jellyfin Webhook Plugin

Jellyfin has a webhook plugin that allows you to send notifications to Discord, Slack, Telegram, etc. So we are going to use this plugin to send a notification to Discord when a user connects, when he starts what he is watching, when he disconnects, and when a user is created for now.

Install the plugin

  1. Go to the plugin page of Jellyfin: Jellyfin Plugins

Jellyfin Webhook Plugin Page

  1. Install the plugin by clicking on the install button.
  2. Restart Jellyfin.

Configuration

Discord Webhook

  1. Go to your Discord server where you want to send notifications.
  2. Go to or create a channel where you want to send messages.

Discord Server

  1. Create a webhook by clicking on the Webhooks tab

add an avatar and name for the webhook if you want; you can also set this in the plugin settings

Discord Webhook

I use this image: Jellyfin image

  1. Copy the webhook URL.

Jellyfin plugin

  1. Go to the plugin settings of the webhook plugin.

Jellyfin Webhook Plugin

  1. Click on Webhooks.

Now add a Discord destination.

Jellyfin Webhook Plugin - Webhooks

Notifications settings

You can find information about the jellyfin plugin settings.

Jellyfin Webhook Plugin - Webhooks

So you can see if you scroll down, there is a lot of options for notification types, users, items filtering, etc.

But for now, like I said in the beginning, we are going to use the Authentication Success, Playback Start, Playback Stop and User Created notification type.

Authentication Success

This notification is sent when a user connects to your Jellyfin server.

Jellyfin Webhook Plugin - Authentication Success

So you have to check the Authentication Success notification type.

don't forget the webhook URL

After that, you can filter the notifications by user (if you want to send a notification to a specific user). You don't have to check other options (depending on your needs).

Now you can see the Template zone.

Jellyfin Webhook Plugin - Template

It's here where you can edit the template of the notification.

Example of a notification

Jellyfin template - notification

Json template Authentication Success notification here.

If you want to use it like that, just copy the JSON file and paste it in the Template zone.

Successful Connection JSON Template

Playback Start

This notification is sent when a user starts what he is watching.

So you have to check the Playback Start notification type.

don't forget the webhook URL

After that, you can filter the notifications by user (if you want to send a notification to a specific user). Don't forget to check all item type options (Movies, Series, Episodes, etc.).

Jellyfin Media Type - select

Example of a notification

Jellyfin Playback Start - notification

Playback Start JSON Template

Playback Stop

This notification is sent when a user stops what he is watching.

Make sure to check the Playback Stop notification type.

don't forget the webhook URL

You can filter notifications by user to send a notification to a specific user.

Example of a notification

Jellyfin Playback Stop - notification

Playback Stop JSON Template

User Created

This notification is sent when a user is created.

Make sure to check the User Created notification type.

don't forget the webhook URL

Example of a notification

Jellyfin User Created - notification

User Created JSON Template


New version of discord notifications coming soon!