Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use with jellyfin webhook? #56

Open
PlanetDyna opened this issue Dec 2, 2022 · 1 comment
Open

How to use with jellyfin webhook? #56

PlanetDyna opened this issue Dec 2, 2022 · 1 comment

Comments

@PlanetDyna
Copy link

PlanetDyna commented Dec 2, 2022

I installed your repo! And its working. :)
But I dont know how to setup with "https://github.com/jellyfin/jellyfin-plugin-webhook/".

Can you please have a look?

@krim404
Copy link

krim404 commented Oct 4, 2024

This is pretty straight forward and a regular usage of Webhooks.

Activate the software in this repo as a service, then you create a new generic webhook in jellyfin, name it whatever you like, set the URL to: https://SERVER/!ROOM:MATRIX_SERVER?formatter=grafana_9x&key=APIKEY

select the notification types to whatever you need. In my example i've set it to Item Added and Movies/Episodes/Series. Then you can add the following template as example:

{
  "title": "{{ItemType}}: {{Name}} [{{RunTime}}]",
  "message": "{{#if_equals ItemType 'Episode'}}S{{SeasonNumber00}}E{{EpisodeNumber00}} {{SeriesName}}{{else}}{{{Name}}} ({{Year}}){{/if_equals}}\n{{Overview}}\n\n[Logo]({{ServerUrl}}/Items/{{ItemId}}/Images/Primary): {{ServerUrl}}/web/#/details?id={{ItemId}}&serverId={{ServerId}}"
}

however this is not an issue, more a question for help. so i suggest closing this issue @nim65s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants