Awesome
Jellyfin Plugin Telegram Notifier
<a href='https://ko-fi.com/B0B8112Y0Y' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi1.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
This Jellyfin plugin provides notification functionalities via Telegram for various events occurring within your Jellyfin server. Stay informed about playback activities, user management, plugin operations, and more right from your Telegram account. You can personalize the configuration for each user.
<p align="center"> <img src="assets/logo.png" alt="Logo" width="300" height="300">If you encounter a problem, a bug or have an idea for a new feature, submit an issue here. Please, submit only one feature or bug per issue.
If you're finding value in this project and it's been helpful to you, consider giving it a star ⭐️ on GitHub ! Your support means a lot and helps others discover the project too.
Table of contents
Install the plugin
To install the plugin on your Jellyfin server, you need to follow these steps:
- Go to the Jellyfin dashboard
- Go to the Plugins section
- Go to the Repository tab
- Add the depot URL:
Repository Name: Telegram Notifier
Repository URL:
https://raw.githubusercontent.com/RomainPierre7/jellyfin-plugin-TelegramNotifier/main/manifest.json
- Go to the Catalog tab
- Search for the plugin:
Telegram Notifier
- Click on the Install button
- Restart the Jellyfin server
Note: You can also install the plugin manually by downloading the latest release from the releases page.
Use the plugin
To use the plugin, you need to follow these steps:
- Go to the Jellyfin dashboard
- Go to the Plugins section
- Go to the Installed tab
- Click on the Telegram Notifier plugin
- Configure the plugin
Configuration
- Select the user you want to configure
- Enter the Telegram bot token
Note: You can create a Telegram bot by sending the command
/newbot
to the BotFather and collect the token.
- Enter the chat ID
Note: You can get the collect the chat ID by sending a message to the bot and then go to the URL:
https://api.telegram.org/bot<YourBOTToken>/getUpdates
- Click on the Test button to test the configuration
- Enable the notifications for the user
- Select the events you want to be notified about
Available events:
- Item added
- Playback start
- Playback progress
- Playback stop
- Subtitle download failure (soon...)
- Authentication failure (soon...)
- Authentication success (soon...)
- Session start
- Pending restart (soon...)
- Task completed (soon...)
- Plugin installation cancelled
- Plugin installation failed
- Plugin installed
- Plugin installing
- Plugin uninstalled
- Plugin updated
- User created
- User deleted
- User locked out
- User password changed
- User updated (soon...)
- User data saved (soon...)
- Click on the Save button
Example of the configuration page:
Install the project (for developers)
To install the project, you need to follow these steps:
Note: You need to have the .NET 8.0 SDK installed on your machine.
- Clone the repository
- Install the dependencies
- Compile the plugin
- Install the plugin
1. Clone the repository
git clone https://github.com/RomainPierre7/jellyfin_telegram_notifier.git
2. Install the dependencies
dotnet add package Jellyfin.Controller
3. Compile the plugin
dotnet build
or use the Makefile:
This command will only build the dll file in the plugin
directory.
make dev
Other commands are available in the Makefile:
make build
- Build the projectmake publish
- Publish the projectmake clean
- Clean the projectmake dev
- Build the project and copy thedll
file in theplugin
directorymake plugin
- Publish the project and copy thedll
file in theplugin
directory
4. Install the plugin
To install the plugin, you have to find the Jellyfin plugin directory. It depends on your installation but the most common paths are:
- Linux:
/var/lib/jellyfin/plugins
- Windows:
C:\ProgramData\Jellyfin\Server\plugins
- Docker:
/config/plugins
or/config/data/plugins
Then, you have to copy the Jellyfin.Plugin.TelegramNotifier.dll
file in a folder in the plugin directory.
Example:
Plugin
│
└── TelegramNotifier
│
└── Jellyfin.Plugin.TelegramNotifier.dll
Finally, you have to restart the Jellyfin server.