hope you like this one, a bit more extensive version of the previous release. I have released this as v2 due to the extra effort and work gone in to it.
github link < Need for webhook_template.handlebars
Handling Notification Types:
Authentication Failure
Authentication Success
Item Added
Item Deleted
Playback Progress
Playback Start
Playback Stop
User Created
User Deleted
User Locked Out
User Password Changed
User Updated
1 toggle helper is needed to be setup (preferably per each automation deployment from the blueprint, this is to handle the pause/resume function)
1 Like
urtaevS
(Urtaev Stanislav)
June 7, 2025, 12:50pm
2
Just add the webhook like this
http://{ha_ip}:{ha_port}/api/webhook/{your_webhook_id}
and check it in the other automation, and trigger work fine.
Then add same webhook to the Blueprint Jellyfin Webhook v2, and i don’t get trigger event, traceroute is empty
alias: Jellyfin Webhook Handler
description: ""
use_blueprint:
path: thenextbutton/jellyfin_webhook_release_v2.yaml
input:
webhook_id: >-
http://ip:port/api/webhook/jellyfin-blueprint
movie_play_actions:
- alias: Noti
data:
title: <b>{{trigger.data.Name }}</b> - {{ trigger.data.Year }} ️▶️
data:
image: "{{ trigger.data.Thumbnail }}"
tag: jellyfin-notification
channel: Jellyfin
notification_icon: mdi:television-play
color: green
enabled: true
action: notify.mobile_app
movie_stop_actions:
- alias: Noti
data:
title: <b>{{trigger.data.Name }}</b> - {{ trigger.data.Year }} ️⏹
data:
image: "{{ trigger.data.Thumbnail }}"
tag: jellyfin-notification
channel: Jellyfin
notification_icon: mdi:television-stop
color: red
enabled: true
action: notify.mobile_app
automation_mode: restart
jellyfin_ispaused_helper: input_boolean.jellyfin_pause_helper
webhook_local_only: true
jellyfin_client_id: Synology
jellyfin_client: Synology
jellyfin_client_retrieve: true
Does the last triggered on the automation update its time when Jellyfin plays any media?