jellyfin-plugin-webhook icon indicating copy to clipboard operation
jellyfin-plugin-webhook copied to clipboard

anyone know how to make it work for wechat?

Open insomnia417 opened this issue 2 years ago • 4 comments

insomnia417 avatar Dec 16 '22 18:12 insomnia417

微信企业版我测试可以,按微信企业版里的群机器人的模板填写即可。有需要可以留言加微信,稍微有些复杂。

serenity666 avatar Dec 25 '22 02:12 serenity666

IMG_20221225_105143

serenity666 avatar Dec 25 '22 02:12 serenity666

微信企业版我测试可以,按微信企业版里的群机器人的模板填写即可。有需要可以留言加微信,稍微有些复杂。

求个模板,我按钉钉的配置了,替换成企微的不生效

goadsth avatar Oct 12 '23 15:10 goadsth

微信企业版我测试可以,按微信企业版里的群机器人的模板填写即可。有需要可以留言加微信,稍微有些复杂。

求个模板,我按钉钉的配置了,替换成企微的不生效

{ "msgtype": "news", "news": { "articles" : [ { {{#if_equals NotificationType 'ItemAdded'}} {{#if_equals ItemType 'Movie'}} "title" :"新电影:{{{Name}}},已入库", "description" : "电影时长:{{{RunTime}}},点击查看详情", "url" : "{{ServerUrl}}/web/index.html#!/details?id={{ItemId}}&serverId={{ServerId}}", "picurl" : "{{ServerUrl}}/Items/{{ItemId}}/Images/Primary" {{/if_equals}} {{/if_equals}}

{{#if_equals NotificationType 'PlaybackStart'}} {{#if_equals ItemType 'Movie'}} "title" : "{{{DeviceName}}}开始播放电影:{{{Name}}}({{{Year}}})", "description" : "电影时长:{{RunTime}},电影简介:{{{Overview}}}", "url" : "{{ServerUrl}}/web/index.html#!/details?id={{ItemId}}&serverId={{ServerId}}", "picurl" : "{{ServerUrl}}/Items/{{ItemId}}/Images/Backdrop" {{else}} "title" : "{{{DeviceName}}}开始播放电视剧:{{{SeriesName}}} 第{{EpisodeNumber}}集:({{{Name}}})", "description" : "本集时长:{{{RunTime}}},当前时间:{{{Timestamp}}}", "url" : "{{ServerUrl}}/web/index.html#!/details?id={{ItemId}}&serverId={{ServerId}}", "picurl" : "{{ServerUrl}}/Items/{{ItemId}}/Images/Primary" {{/if_equals}} {{/if_equals}}

{{#if_equals NotificationType 'PlaybackStop'}} {{#if_equals ItemType 'Movie'}} "title" : "{{{DeviceName}}}停止播放电影:{{{Name}}}", "description" : "当前时间:{{{Timestamp}}}", "url" : "{{ServerUrl}}/web/index.html#!/details?id={{ItemId}}&serverId={{ServerId}}", "picurl" : "{{ServerUrl}}/Items/{{ItemId}}/Images/Backdrop" {{else}} "title" : "{{{DeviceName}}}停止播放电视剧:{{{SeriesName}}}", "description" : "当前时间:{{{Timestamp}}}", "url" : "{{ServerUrl}}/web/index.html#!/details?id={{ItemId}}&serverId={{ServerId}}", "picurl" : "{{ServerUrl}}/Items/{{ItemId}}/Images/Backdrop" {{/if_equals}} {{/if_equals}}

} } }

serenity666 avatar Nov 03 '23 13:11 serenity666