-
-
Notifications
You must be signed in to change notification settings - Fork 50
/
Copy pathProwl.handlebars
51 lines (51 loc) · 1.97 KB
/
Prowl.handlebars
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"apikey": "{{ApiKey}}",
"application": "{{ServerName}}",
"event": "{{NotificationType}}",
"priority": "0",
"description": "
{{~#if_equals ItemType 'Season'~}}
{{{SeriesName}}} {{{Name}}} has been added to {{{ServerName}}}\n
{{~else~}}
{{~#if_equals ItemType 'Episode'~}}
{{{SeriesName}}} S{{SeasonNumber00}}E{{EpisodeNumber00}} {{{Name}}} has been added to {{{ServerName}}}\n
{{~else~}}
{{{Name}}} ({{Year}}) has been added to {{{ServerName}}}\n
{{~/if_equals~}}
{{~/if_equals~}}
\nExternal Links:\n
{{~#if_exist Provider_imdb~}}
[IMDb](https://www.imdb.com/title/{{Provider_imdb}}/)\n
{{~/if_exist~}}
{{~#if_exist Provider_tmdb~}}
{{~#if_equals ItemType 'Movie'~}}
[TMDb](https://www.themoviedb.org/movie/{{Provider_tmdb}})\n
{{~else~}}
[TMDb](https://www.themoviedb.org/tv/{{Provider_tmdb}})\n
{{~/if_equals~}}
{{~/if_exist~}}
{{~#if_exist Provider_musicbrainzartist~}}
[MusicBrainz](https://musicbrainz.org/artist/{{Provider_musicbrainzartist}})\n
{{~/if_exist~}}
{{~#if_exist Provider_audiodbartist~}}
[AudioDb](https://theaudiodb.com/artist/{{Provider_audiodbartist}})\n
{{~/if_exist~}}
{{~#if_exist Provider_musicbrainztrack~}}
[MusicBrainz Track](https://musicbrainz.org/track/{{Provider_musicbrainztrack}})\n
{{~/if_exist~}}
{{~#if_exist Provider_musicbrainzalbum~}}
[MusicBrainz Album](https://musicbrainz.org/release/{{Provider_musicbrainzalbum}})\n
{{~/if_exist~}}
{{~#if_exist Provider_theaudiodbalbum~}}
[TADb Album](https://theaudiodb.com/album/{{Provider_theaudiodbalbum}})\n
{{~/if_exist~}}
{{~#if_exist Provider_tvmaze~}}
{{~#if_equals ItemType 'Episode'~}}
[TVMaze](https://www.tvmaze.com/episodes/{{Provider_tvmaze}})\n
{{~/if_equals~}}
{{~#if_equals ItemType 'Series'~}}
[TVMaze](https://www.tvmaze.com/shows/{{Provider_tvmaze}})\n
{{~/if_equals~}}
{{~/if_exist~}}",
"url": "{{ServerUrl}}/web/index.html#!/details?id={{ItemId}}&serverId={{ServerId}}"
}