1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-21 22:05:38 -04:00

New: Genres and Images for Webhooks and Notifiarr

Closes #6822
This commit is contained in:
Mark McDowall
2024-05-23 06:42:16 -07:00
committed by Mark McDowall
parent 11e5c5a11b
commit fd3dd1ab7d
5 changed files with 47 additions and 12 deletions
@@ -0,0 +1,18 @@
using NzbDrone.Core.MediaCover;
namespace NzbDrone.Core.Notifications.Webhook
{
public class WebhookImage
{
public MediaCoverTypes CoverType { get; set; }
public string Url { get; set; }
public string RemoteUrl { get; set; }
public WebhookImage(MediaCover.MediaCover image)
{
CoverType = image.CoverType;
RemoteUrl = image.RemoteUrl;
Url = image.Url;
}
}
}