• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Guides, Walkthroughs & Tutorials 10.9.0 Webooks Notifications

     
    • 1 Vote(s) - 5 Average

    10.9.0 Webooks Notifications

    10.9.0 removed notifications to Webhooks... need guide
    paulc
    Offline

    Member

    Posts: 82
    Threads: 7
    Joined: 2023 Jun
    Reputation: 5
    Country:United States
    #1
    2024-05-12, 07:23 PM (This post was last modified: 2024-05-12, 07:26 PM by paulc. Edited 1 time in total.)
    Notifications used to come as email in email human readable form. 

    I was able to setup smtp webhook notifications. At one point the info came in json form in the email body.

    After Googling, I setup my template like:

    Code:
    <pre>Username: {{Username}}
    Action: {{NotificationType}}
    Timestamp: {{UtcTimestamp}}
    Title:: {{Name}}


    Series: {{SeriesName}}
    Season: {{SeasonNumber00}}
    Episode: {{EpisodeNumber00}}


    DeviceName: {{DeviceName}}
    ClientName: {{ClientName}}
    PlaybackPosition: {{PlaybackPosition}}
    </pre>


    and subject template like
    Code:
    {{Username}} Action: {{NotificationType}}  Series: {{SeriesName}} Title:: {{Name}}

    Username is coming back empty. Any help would be appreciated.

    I would venture to say, not many people that setup as 'home users' have experienced webhooks before and many are probably inclined not to take up the hobby of learning about them.

    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?


    Attached Files Thumbnail(s)
       
    paulc
    Offline

    Member

    Posts: 82
    Threads: 7
    Joined: 2023 Jun
    Reputation: 5
    Country:United States
    #2
    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
    SethBacon
    Offline

    Member

    Posts: 51
    Threads: 3
    Joined: 2023 Nov
    Reputation: 5
    Country:Canada
    #3
    2024-06-23, 08:29 PM
    I think you might want {{NotificationUsername}}. Thats what i use for reporting back via slack.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode