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

Feature request: more variables available to templates

Open DevPGSV opened this issue 2 years ago • 5 comments

When creating templates, this variables are available:

  • SeriesName
  • SeasonNumber
  • EpisodeNumber
  • And some others

I suggest, when the Item is an Episode, to add the following variables:

Those variables would be very useful to create templates that include links to that information.

Also, in BaseItem there are some interesting variables that could also be added:

Thank you

DevPGSV avatar Nov 18 '22 15:11 DevPGSV

+1 to this. I was going to ask for the exact same thing. Specifically, SeriesId and SeasonId would be valuable for embedding series or season images in notifications. For example,

{{ServerUrl}}/Items/{{SeasonId}}/Images/Primary

which would link to and image which could be embedded like I currently am for Tautulli and Plex: image

Jacob-Lasky avatar Nov 18 '22 17:11 Jacob-Lasky

+1, would love to see this.

I would also like to see a Quality variable.

image

As you can see im missing quite a few things compared to Plex.

zeroquinc avatar Nov 21 '22 09:11 zeroquinc

SeasonId has been added in https://github.com/jellyfin/jellyfin-plugin-webhook/commit/47aa78b057bc1ea9f3c4ee6dc5178c8f9b9444ce.

I'll try to do the other ones too.

zeroquinc avatar Sep 26 '23 02:09 zeroquinc

FYI: SeriesId, AirTime, EpisodePremiereDate, SeriesPremiereDate and Genres have also been added! Will make sure movies work too with PremiereDate.

zeroquinc avatar Sep 28 '23 01:09 zeroquinc

Hi, I think more variables like library name (where the item belongs), video resolution and file size would be useful too

massijay avatar Oct 25 '23 11:10 massijay