mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-26 22:56:23 -04:00
committed by
Mark McDowall
parent
11e5c5a11b
commit
fd3dd1ab7d
@@ -1,4 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using NzbDrone.Core.Tv;
|
||||
|
||||
namespace NzbDrone.Core.Notifications.Webhook
|
||||
@@ -14,6 +15,8 @@ namespace NzbDrone.Core.Notifications.Webhook
|
||||
public string ImdbId { get; set; }
|
||||
public SeriesTypes Type { get; set; }
|
||||
public int Year { get; set; }
|
||||
public List<string> Genres { get; set; }
|
||||
public List<WebhookImage> Images { get; set; }
|
||||
public List<string> Tags { get; set; }
|
||||
|
||||
public WebhookSeries()
|
||||
@@ -31,6 +34,8 @@ namespace NzbDrone.Core.Notifications.Webhook
|
||||
ImdbId = series.ImdbId;
|
||||
Type = series.SeriesType;
|
||||
Year = series.Year;
|
||||
Genres = series.Genres;
|
||||
Images = series.Images.Select(i => new WebhookImage(i)).ToList();
|
||||
Tags = tags;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user