1
0
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:
Qstick
2022-10-15 14:18:14 -05:00
parent 2d867a6cb6
commit 01bc5f6fc8
3 changed files with 46 additions and 0 deletions
@@ -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; }
}
}