mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-28 23:06:43 -04:00
New: Custom Formats
Co-Authored-By: ta264 <ta264@users.noreply.github.com>
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using NzbDrone.Core.Parser.Model;
|
||||
using NzbDrone.Core.Qualities;
|
||||
|
||||
@@ -17,6 +19,8 @@ namespace NzbDrone.Core.Notifications.Webhook
|
||||
ReleaseTitle = remoteBook.Release.Title;
|
||||
Indexer = remoteBook.Release.Indexer;
|
||||
Size = remoteBook.Release.Size;
|
||||
CustomFormats = remoteBook.CustomFormats?.Select(x => x.Name).ToList();
|
||||
CustomFormatScore = remoteBook.CustomFormatScore;
|
||||
}
|
||||
|
||||
public string Quality { get; set; }
|
||||
@@ -25,5 +29,7 @@ namespace NzbDrone.Core.Notifications.Webhook
|
||||
public string ReleaseTitle { get; set; }
|
||||
public string Indexer { get; set; }
|
||||
public long Size { get; set; }
|
||||
public int CustomFormatScore { get; set; }
|
||||
public List<string> CustomFormats { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user