Help with my Telegram Webhook - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +--- Thread: Help with my Telegram Webhook (/t-help-with-my-telegram-webhook) |
Help with my Telegram Webhook - Jinxovarrio - 2024-05-27 Hello everyone. For some reason in webhook if I remove the crossed out items the notifications to telegram stop being received. Can anyone tell me the reason? I want to avoid so many notifications of new chapters as it is excessive otherwise. "chat_id":"-100xxxxxxxxxxx ", {{#if_equals ItemType 'Series'}} "text": "<b><em>{{{Name}}} ({{Year}})</em></b>\n\n<code>Nueva serie añadida</code>\n\n<b>Sinopsis:</b> {{Overview}}\n\n<b>Duración</b>\n{{RunTime}}\n\nPara más información y trailer, <b>pulsa sobre la imagen</b>" {{else}} {{#if_equals ItemType 'Episode'}} "text": "<b>{{{SeriesName}}} ({{Year}})</b>\n\n<code>Nuevo episodio añadido</code>\n\n<b>Temporada:</b> {{SeasonNumber00}} <b>Episodio:</b> {{EpisodeNumber00}}\n\n<b>Sinopsis:</b> {{Overview}}\n\n<b>Duración:</b> {{RunTime}}\n\nPara más información y trailer, <b>pulsa sobre la imagen</b>" {{else}} {{#if_equals ItemType 'Movie'}} "text": "<b>{{{Name}}} ({{Year}})</b>\n\n<b>Sinopsis: </b>{{Overview}}\n\n<b>Duración:</b>{{RunTime}}\n\nPara más información y trailer, <b>pulsa sobre la imagen</b>" {{/if_equals}} {{/if_equals}} {{/if_equals}}, "parse_mode": "html", "disable_notification":true, "link_preview_options": { "is_disabled": false, {{~#if_exist Provider_imdb~}}"url":"https://www.imdb.com/title/{{Provider_imdb}}/" {{else}} {{~#if_exist Provider_tmdb~}} {{~#if_equals ItemType 'Movie'~}} "url":"https://www.themoviedb.org/movie/{{Provider_tmdb}}/" {{~else~}} "url":"https://www.themoviedb.org/tv/{{Provider_tmdb}}" {{~/if_equals~}} {{~/if_exist~}} {{~/if_exist~}}, "prefer_large_media": true, "show_above_text": true } } Maybe I have to leave this selection like this? I used to have series, movies, episodes and season selected. Thank you very much RE: Help with my Telegram Webhook - crobibero - 2024-05-27 I believe you need to also remove an instance of {{/if_equals}} so the template can be closed properly |