1818 " actions" : [{ " action" : " view" , " label" : " Visit Jellyfin" , " url" : " {{{ ServerUrl }}} web/#/details?id={{ ItemId }} " }],
1919 {{ #if_equals ItemType ' Audio' }}
2020 " title" : " {{{ NotificationUsername }}} | Playback started: {{{ Artist }}} - {{{ Name }}} ({{ Year }} )" ,
21- " message" : " ---\n**- User:** {{{ NotificationUsername }}} \n**- Device/Client:** {{{ DeviceName }}} - {{{ ClientName }}} \n**- Action:** Playback started\n**- Play Method:** {{{ PlayMethod }}} \n**- Playback Position:** {{{ PlaybackPosition }}} \n\n**- Artist:** {{{ Artist }}} \n**- Track:** {{{ Name }}} \n**- Album:** {{{ Album }}} ({{ Year }} )\n**- Runtime:** {{ RunTime }} "
21+ " message" : " ---\n**- User:** {{{ NotificationUsername }}} \n**- Device/Client:** {{{ DeviceName }}} - {{{ ClientName }}} \n**- IP Address:** {{{ RemoteEndPoint }}} \n**- Action:** Playback started\n**- Play Method:** {{{ PlayMethod }}} \n**- Playback Position:** {{{ PlaybackPosition }}} \n\n**- Artist:** {{{ Artist }}} \n**- Track:** {{{ Name }}} \n**- Album:** {{{ Album }}} ({{ Year }} )\n**- Runtime:** {{ RunTime }} "
2222 {{ else }}
2323 {{ #if_equals ItemType ' Episode' }}
2424 " title" : " {{{ NotificationUsername }}} | Playback started: {{{ SeriesName }}} ({{ Year }} ) - S{{ SeasonNumber00 }} E{{ EpisodeNumber00 }} " ,
25- " message" : " ---\n**- User:** {{{ NotificationUsername }}} \n**- Device/Client:** {{{ DeviceName }}} - {{{ ClientName }}} \n**- Action:** Playback started\n**- Play Method:** {{{ PlayMethod }}} \n**- Playback Position:** {{{ PlaybackPosition }}} \n\n**- Series:** {{{ SeriesName }}} ({{ Year }} )\n**- Episode:** S{{ SeasonNumber00 }} E{{ EpisodeNumber00 }} - {{{ Name }}} \n**- Runtime:** {{ RunTime }} \n\n**- Description:**\n{{ Overview }} "
25+ " message" : " ---\n**- User:** {{{ NotificationUsername }}} \n**- Device/Client:** {{{ DeviceName }}} - {{{ ClientName }}} \n**- IP Address:** {{{ RemoteEndPoint }}} \n**- Action:** Playback started\n**- Play Method:** {{{ PlayMethod }}} \n**- Playback Position:** {{{ PlaybackPosition }}} \n\n**- Series:** {{{ SeriesName }}} ({{ Year }} )\n**- Episode:** S{{ SeasonNumber00 }} E{{ EpisodeNumber00 }} - {{{ Name }}} \n**- Runtime:** {{ RunTime }} \n\n**- Description:**\n{{ Overview }} "
2626 {{ else }}
2727 " title" : " {{{ NotificationUsername }}} | Playback started: {{{ Name }}} ({{ Year }} )" ,
28- " message" : " ---\n**- User:** {{{ NotificationUsername }}} \n**- Device/Client:** {{{ DeviceName }}} - {{{ ClientName }}} \n**- Action:** Playback started\n**- Play Method:** {{{ PlayMethod }}} \n**- Playback Position:** {{{ PlaybackPosition }}} \n\n**- Movie:** {{{ Name }}} ({{ Year }} )\n**- Runtime:** {{ RunTime }} \n\n**- Description:**\n{{ Overview }} "
28+ " message" : " ---\n**- User:** {{{ NotificationUsername }}} \n**- Device/Client:** {{{ DeviceName }}} - {{{ ClientName }}} \n**- IP Address:** {{{ RemoteEndPoint }}} \n**- Action:** Playback started\n**- Play Method:** {{{ PlayMethod }}} \n**- Playback Position:** {{{ PlaybackPosition }}} \n\n**- Movie:** {{{ Name }}} ({{ Year }} )\n**- Runtime:** {{ RunTime }} \n\n**- Description:**\n{{ Overview }} "
2929 {{ /if_equals }}
3030 {{ /if_equals }}
3131 {{ /if_equals }}
3737 " actions" : [{ " action" : " view" , " label" : " Visit Jellyfin" , " url" : " {{{ ServerUrl }}} web/#/details?id={{ ItemId }} " }],
3838 {{ #if_equals ItemType ' Audio' }}
3939 " title" : " {{{ NotificationUsername }}} | Playback stopped: {{{ Artist }}} - {{{ Name }}} ({{ Year }} )" ,
40- " message" : " ---\n**- User:** {{{ NotificationUsername }}} \n**- Device/Client:** {{{ DeviceName }}} - {{{ ClientName }}} \n**- Action:** Playback stopped\n**- Played To Completion:** {{{ PlayedToCompletion }}} \n**- Playback Position:** {{{ PlaybackPosition }}} \n\n**- Artist:** {{{ Artist }}} \n**- Track:** {{{ Name }}} \n**- Album:** {{{ Album }}} ({{ Year }} )\n**- Runtime:** {{ RunTime }} "
40+ " message" : " ---\n**- User:** {{{ NotificationUsername }}} \n**- Device/Client:** {{{ DeviceName }}} - {{{ ClientName }}} \n**- IP Address:** {{{ RemoteEndPoint }}} \n**- Action:** Playback stopped\n**- Played To Completion:** {{{ PlayedToCompletion }}} \n**- Playback Position:** {{{ PlaybackPosition }}} \n\n**- Artist:** {{{ Artist }}} \n**- Track:** {{{ Name }}} \n**- Album:** {{{ Album }}} ({{ Year }} )\n**- Runtime:** {{ RunTime }} "
4141 {{ else }}
4242 {{ #if_equals ItemType ' Episode' }}
4343 " title" : " {{{ NotificationUsername }}} | Playback stopped: {{{ SeriesName }}} ({{ Year }} ) - S{{ SeasonNumber00 }} E{{ EpisodeNumber00 }} " ,
44- " message" : " ---\n**- User:** {{{ NotificationUsername }}} \n**- Device/Client:** {{{ DeviceName }}} - {{{ ClientName }}} \n**- Action:** Playback stopped\n**- Played To Completion:** {{{ PlayedToCompletion }}} \n**- Playback Position:** {{{ PlaybackPosition }}} \n\n**- Series:** {{{ SeriesName }}} ({{ Year }} )\n**- Episode:** S{{ SeasonNumber00 }} E{{ EpisodeNumber00 }} - {{{ Name }}} \n**- Runtime:** {{ RunTime }} \n\n**- Description:**\n{{ Overview }} "
44+ " message" : " ---\n**- User:** {{{ NotificationUsername }}} \n**- Device/Client:** {{{ DeviceName }}} - {{{ ClientName }}} \n**- IP Address:** {{{ RemoteEndPoint }}} \n**- Action:** Playback stopped\n**- Played To Completion:** {{{ PlayedToCompletion }}} \n**- Playback Position:** {{{ PlaybackPosition }}} \n\n**- Series:** {{{ SeriesName }}} ({{ Year }} )\n**- Episode:** S{{ SeasonNumber00 }} E{{ EpisodeNumber00 }} - {{{ Name }}} \n**- Runtime:** {{ RunTime }} \n\n**- Description:**\n{{ Overview }} "
4545 {{ else }}
4646 " title" : " {{{ NotificationUsername }}} | Playback stopped: {{{ Name }}} ({{ Year }} )" ,
47- " message" : " ---\n**- User:** {{{ NotificationUsername }}} \n**- Device/Client:** {{{ DeviceName }}} - {{{ ClientName }}} \n**- Action:** Playback stopped\n**- Played To Completion:** {{{ PlayedToCompletion }}} \n**- Playback Position:** {{{ PlaybackPosition }}} \n\n**- Movie:** {{{ Name }}} ({{ Year }} )\n**- Runtime:** {{ RunTime }} \n\n**- Description:**\n{{ Overview }} "
47+ " message" : " ---\n**- User:** {{{ NotificationUsername }}} \n**- Device/Client:** {{{ DeviceName }}} - {{{ ClientName }}} \n**- IP Address:** {{{ RemoteEndPoint }}} \n**- Action:** Playback stopped\n**- Played To Completion:** {{{ PlayedToCompletion }}} \n**- Playback Position:** {{{ PlaybackPosition }}} \n\n**- Movie:** {{{ Name }}} ({{ Year }} )\n**- Runtime:** {{ RunTime }} \n\n**- Description:**\n{{ Overview }} "
4848 {{ /if_equals }}
4949 {{ /if_equals }}
5050 {{ /if_equals }}
9393 {{ #if_equals NotificationType ' AuthenticationFailure' }}
9494 " title" : " Alert: {{{ Username }}} : Authentication Failure" ,
9595 " priority" : 5,
96- " message" : " ---\n**- User:** {{{ Username }}} \n**- Issue:** Login request was denied: Wrong password!"
96+ " message" : " ---\n**- User:** {{{ NotificationUsername }}} \n**- Device/Client:** {{{ DeviceName }}} - {{{ ClientName }}} \n**- IP Address:** {{{ RemoteEndPoint }}} \n**- Issue:** Login request was denied: Wrong password!"
9797 {{ /if_equals }}
9898
9999 {{ #if_equals NotificationType ' AuthenticationSuccess' }}
100100 " title" : " {{{ NotificationUsername }}} : Authentication Success" ,
101101 " priority" : 3,
102- " message" : " ---\n**- User:** {{{ NotificationUsername }}} \n**- Message:** Successfully logged in!"
102+ " message" : " ---\n**- User:** {{{ NotificationUsername }}} \n**- Device/Client:** {{{ DeviceName }}} - {{{ ClientName }}} \n**- IP Address:** {{{ RemoteEndPoint }}} \n**- Message:** Successfully logged in!"
103103 {{ /if_equals }}
104104
105105 {{ #if_equals NotificationType ' UserLockedOut' }}
106106 " title" : " Alert: {{{ NotificationUsername }}} : User Locked Out" ,
107107 " priority" : 5,
108- " message" : " ---\n**- User:** {{{ NotificationUsername }}} \n**- Issue:** User has been locked out!"
108+ " message" : " ---\n**- User:** {{{ NotificationUsername }}} \n**- Device/Client:** {{{ DeviceName }}} - {{{ ClientName }}} \n**- IP Address:** {{{ RemoteEndPoint }}} \n**- Issue:** User has been locked out!"
109109 {{ /if_equals }}
110110}
0 commit comments