Skip to content

🎬 Jellyfin Webhook 插件

  1. 运行 Bangumi-syncer。

  2. 打开 Jellyfin 控制台 → 插件目录 → 拉到最下面找到点进 Webhook → 选择 18.0.0.0 版本,点击 Install 安装此插件然后 重启服务器

  1. 打开 Jellyfin 控制台 → 插件我的插件 → 点进 WebhookServer Url 里输入你的 Jellyfin 地址,点击 Add Generic Destination

  1. 展开下方的 GenericWebhook Name 随便填,Webhook Url 输入 http://{ip}:8000/Jellyfinip 根据本机情况填写。Notification Type 只选中 Playback StartPlayback StopItem Type 选中 MoviesEpisodesTemplate 填写如下模版,然后点击 Save 保存设置:
json
{"media_type": "{{{ItemType}}}","title": "{{{SeriesName}}}","ori_title": " ","season": {{{SeasonNumber}}},"episode": {{{EpisodeNumber}}},"release_date": "{{{Year}}}-01-01","user_name": "{{{NotificationUsername}}}","NotificationType": "{{{NotificationType}}}","PlayedToCompletion": "{{{PlayedToCompletion}}}", "source": "jellyfin"}
  1. 在 Jellyfin 播放完成后,可在 Web 界面「日志管理」页面查看同步结果。