feat(webhook): add imdbid to webhook notification (#2658)

Signed-off-by: Ludovic Ortega <[email protected]>
This commit is contained in:
Ludovic Ortega
2026-04-08 22:41:42 +02:00
committed by GitHub
parent 86acc41fa5
commit 2432e8dd7b
3 changed files with 3 additions and 0 deletions
@@ -98,6 +98,7 @@ These following special variables are only included in media-related notificatio
| Variable | Value |
| ------------------------------| -------------------------------------------------------------------------------------------------------------- |
| `{{media_type}}` | The media type (`movie` or `tv`) |
| `{{media_imdbid}}` | The media's IMDb ID |
| `{{media_tmdbid}}` | The media's TMDB ID |
| `{{media_tvdbid}}` | The media's TheTVDB ID |
| `{{media_status}}` | The media's availability status (`UNKNOWN`, `PENDING`, `PROCESSING`, `PARTIALLY_AVAILABLE`, or `AVAILABLE`) |
@@ -25,6 +25,7 @@ const KeyMap: Record<string, string | KeyMapFunction> = {
notifyuser_avatar: 'notifyUser.avatar',
notifyuser_settings_discordId: 'notifyUser.settings.discordId',
notifyuser_settings_telegramChatId: 'notifyUser.settings.telegramChatId',
media_imdbid: 'media.imdbId',
media_tmdbid: 'media.tmdbId',
media_tvdbid: 'media.tvdbId',
media_type: 'media.mediaType',
@@ -37,6 +37,7 @@ const defaultPayload = {
image: '{{image}}',
'{{media}}': {
media_type: '{{media_type}}',
imdbId: '{{media_imdbid}}',
tmdbId: '{{media_tmdbid}}',
tvdbId: '{{media_tvdbid}}',
jellyfinMediaId: '{{media_jellyfinMediaId}}',