RomainPierre7 / jellyfin-plugin-TelegramNotifier

Jellyfin media server plugin to easily send notifications on Telegram !
https://jellyfin.org/
GNU General Public License v3.0
26 stars 2 forks source link

Allow editing notifications with HTML tags #9

Open iPleyGit opened 1 day ago

iPleyGit commented 1 day ago

A function to edit notifications and display them as configured would be great, similar to how Tautulli does it.

`

📽 NUEVA PELICULA AÑADIDA:   Título: {title} Año: {year} Duración: {duration} minutos. Valoración IMDB: {rating} Género: {genres}

SINOPSIS: {summary}

📺 NUEVA SERIE AÑADIDA:   Título: {show_name} Año: {year} Género: {genres} Valoración: {rating} Info: Aquí SINOPSIS: {summary} NUEVA TEMPORADA AÑADIDA:   Se ha añadido la temporada {season_num} de la serie {show_name} 📺 NUEVO CAPITULO AÑADIDO: Serie: {show_name} Episodio: {season_num}x{episode_num00} Título: {episode_name} 💿 NUEVO ALBUM AÑADIDO:   Se ha añadido el álbum {album_name} del artista {artist_name} 🎶 NUEVO TEMA AÑADIDO: Título: {track_name} Álbum: {album_name} Grupo: {artist_name} Año: {year} Duración: {duration} minutos Género: {genres} `
Druidblack commented 1 day ago

https://github.com/Fahmula/jellyfin-telegram-notifier 1111222 4545454222 555444

To notify when music is added, I use the Home assistant and a template I made that receives data from the webhook and sends it to telegram muzzzz

Druidblack commented 23 hours ago

If the plugin does not have logic, upon notification of the addition of episodes of the series, then if you immediately add a series with 100+ episodes, 100+ messages about the addition of episodes will be sent to telegram. It might just spam the message feed.

RomainPierre7 commented 23 hours ago

If the plugin does not have logic, upon notification of the addition of episodes of the series, then if you immediately add a series with 100+ episodes, 100+ messages about the addition of episodes will be sent to telegram. It might just spam the message feed.

The plugin allows you to choose independently whether you want to be notified when a series, season or episode is added.

RomainPierre7 commented 23 hours ago

@iPleyGit The philosophy of this plugin is to be plug-in-play and to directly propose a relevant notification model. The idea of customizing all notifications doesn't necessarily seem useful to me. But on the other hand, it could be interesting for add-on notifications, which are the most frequently used. If I have the time, I'll take a look, why not, otherwise a PR ;)

In any case, thank you for your interest in this project, and if you like it, don't hesitate to give it a star to help it become better known 🌟

iPleyGit commented 23 hours ago

La filosofía de este plugin es ser plug-in-play y proponer directamente un modelo de notificación relevante. La idea de personalizar todas las notificaciones no me parece necesariamente útil. Pero por otro lado, podría ser interesante para las notificaciones complementarias, que son las más utilizadas. Si tengo tiempo, echaré un vistazo, ¿por qué no?, de lo contrario, un PR ;)

En cualquier caso, gracias por tu interés en este proyecto, y si te gusta, no dudes en darle una estrella para que se dé a conocer 🌟 más

Providing preset values alongside a field for custom HTML tags offers flexibility for users with varying needs. Some may prefer a simple, out-of-the-box experience, while others may want to tailor their notifications to a higher degree.

By providing custom HTML tags, we can cater to users who want to go beyond basic notifications and include more detailed information such as video resolution, TMDB ratings, and synopses, without compromising the simplicity of the plug-in-play experience for others.

Thanks for the plugin.

iPleyGit commented 22 hours ago

@iPleyGit The philosophy of this plugin is to be plug-in-play and to directly propose a relevant notification model. The idea of customizing all notifications doesn't necessarily seem useful to me. But on the other hand, it could be interesting for add-on notifications, which are the most frequently used. If I have the time, I'll take a look, why not, otherwise a PR ;)

In any case, thank you for your interest in this project, and if you like it, don't hesitate to give it a star to help it become better known 🌟

A related feature that I think would be valuable is the option to translate messages into other languages. Since not everyone speaks English, being able to customize the text would be a highly requested feature.