mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-21 22:05:43 -04:00
New: Include MediaInfo / CF for Webhooks
Fixes #7680 (cherry picked from commit 47116ea6637c4bcb3365f6882bfd02ea74bf687e)
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 = remoteMovie.Release.Title;
|
||||
Indexer = remoteMovie.Release.Indexer;
|
||||
Size = remoteMovie.Release.Size;
|
||||
CustomFormats = remoteMovie.CustomFormats?.Select(x => x.Name).ToList();
|
||||
CustomFormatScore = remoteMovie.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