mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-07 09:15:58 +00:00
* New: Only scan files that are new or updated Pass through filter correctly Add more tests Add tests for migration 30 * Fix windows disk provider * Don't publish deleted event for unmapped file * Fix test on windows
27 lines
787 B
C#
27 lines
787 B
C#
using NzbDrone.Core.MediaFiles;
|
|
|
|
namespace NzbDrone.Core.Notifications.Webhook
|
|
{
|
|
public class WebhookTrackFile
|
|
{
|
|
public WebhookTrackFile() { }
|
|
|
|
public WebhookTrackFile(TrackFile trackFile)
|
|
{
|
|
Id = trackFile.Id;
|
|
Path = trackFile.Path;
|
|
Quality = trackFile.Quality.Quality.Name;
|
|
QualityVersion = trackFile.Quality.Revision.Version;
|
|
ReleaseGroup = trackFile.ReleaseGroup;
|
|
SceneName = trackFile.SceneName;
|
|
}
|
|
|
|
public int Id { get; set; }
|
|
public string Path { get; set; }
|
|
public string Quality { get; set; }
|
|
public int QualityVersion { get; set; }
|
|
public string ReleaseGroup { get; set; }
|
|
public string SceneName { get; set; }
|
|
}
|
|
}
|