2024-05-12, 07:43 PM
(This post was last modified: 2024-05-12, 07:51 PM by paulc. Edited 1 time in total.)
(2024-05-12, 07:23 PM)paulc Wrote: Does anyone have a better template for SMTP webhook notifications? How do I get the Username to show up? A link to all the possible fields?
I stripped the early notification where the data came in json form and got the below fields:
ServerId:{{ServerId}}
ServerName:{{ServerName}}
ServerVersion:{{ServerVersion}}
ServerUrl:{{ServerUrl}}
NotificationType:{{NotificationType}}
Timestamp:{{Timestamp}}
UtcTimestamp:{{UtcTimestamp}}
Name:{{Name}}
Overview:{{Overview}}
Tagline:{{Tagline}}
ItemId:{{ItemId}}
ItemType:{{ItemType}}
RunTimeTicks:{{RunTimeTicks}}
RunTime:{{RunTime}}
Year:{{Year}}
PremiereDate:{{PremiereDate}}
SeriesName:{{SeriesName}}
SeriesId:{{SeriesId}}
SeasonId:{{SeasonId}}
SeriesPremiereDate:{{SeriesPremiereDate}}
SeasonNumber:{{SeasonNumber}}
SeasonNumber00:{{SeasonNumber00}}
SeasonNumber000:{{SeasonNumber000}}
EpisodeNumber:{{EpisodeNumber}}
EpisodeNumber00:{{EpisodeNumber00}}
EpisodeNumber000:{{EpisodeNumber000}}
Provider_imdb:{{Provider_imdb}}
Provider_tvdb:{{Provider_tvdb}}
Provider_tvmaze:{{Provider_tvmaze}}
Provider_tmdb:{{Provider_tmdb}}
Provider_trakt:{{Provider_trakt}}
PlaybackPositionTicks:{{PlaybackPositionTicks}}
PlaybackPosition:{{PlaybackPosition}}
MediaSourceId:{{MediaSourceId}}
IsPaused:{{IsPaused}}
IsAutomated:{{IsAutomated}}
DeviceId:{{DeviceId}}
DeviceName:{{DeviceName}}
ClientName:{{ClientName}}
PlayMethod:{{PlayMethod}}
NotificationUsername:{{NotificationUsername}}
UserId:{{UserId}}
Username is showing now with {{NotificationUsername}}
Please share your SMTP webhooks templates