1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-26 22:56:23 -04:00

New: Include series year with custom scripts and webhooks

Closes #5439
This commit is contained in:
Mark McDowall
2023-03-15 22:09:55 -07:00
parent cb86f4fa50
commit 8d70def088
2 changed files with 8 additions and 1 deletions
@@ -1,4 +1,4 @@
using NzbDrone.Core.Tv;
using NzbDrone.Core.Tv;
namespace NzbDrone.Core.Notifications.Webhook
{
@@ -12,6 +12,7 @@ namespace NzbDrone.Core.Notifications.Webhook
public int TvMazeId { get; set; }
public string ImdbId { get; set; }
public SeriesTypes Type { get; set; }
public int Year { get; set; }
public WebhookSeries()
{
@@ -27,6 +28,7 @@ namespace NzbDrone.Core.Notifications.Webhook
TvMazeId = series.TvMazeId;
ImdbId = series.ImdbId;
Type = series.SeriesType;
Year = series.Year;
}
}
}