mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-26 22:56:23 -04:00
More webook series properties
New: IMDB and TvMaze IDs in Webhooks New: Series type in Webhooks
This commit is contained in:
@@ -8,6 +8,9 @@ namespace NzbDrone.Core.Notifications.Webhook
|
||||
public string Title { get; set; }
|
||||
public string Path { get; set; }
|
||||
public int TvdbId { get; set; }
|
||||
public int TvMazeId { get; set; }
|
||||
public string ImdbId { get; set; }
|
||||
public SeriesTypes Type { get; set; }
|
||||
|
||||
public WebhookSeries() { }
|
||||
|
||||
@@ -17,6 +20,9 @@ namespace NzbDrone.Core.Notifications.Webhook
|
||||
Title = series.Title;
|
||||
Path = series.Path;
|
||||
TvdbId = series.TvdbId;
|
||||
TvMazeId = series.TvMazeId;
|
||||
ImdbId = series.ImdbId;
|
||||
Type = series.SeriesType;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user