New: Webhook improvements

This commit is contained in:
Qstick
2017-10-28 17:38:57 -04:00
parent 7e863d61ff
commit 6af1ffba50
12 changed files with 241 additions and 134 deletions
@@ -0,0 +1,26 @@
using NzbDrone.Core.Music;
using System;
namespace NzbDrone.Core.Notifications.Webhook
{
public class WebhookTrack
{
public WebhookTrack() { }
public WebhookTrack(Track track)
{
Id = track.Id;
Title = track.Title;
TrackNumber = track.TrackNumber;
}
public int Id { get; set; }
public string Title { get; set; }
public int TrackNumber { get; set; }
public string Quality { get; set; }
public int QualityVersion { get; set; }
public string ReleaseGroup { get; set; }
}
}