New: (Discord) Include Custom Formats & Score On Grab

Fixes #6733
pull/6997/head
bakerboy448 2 years ago
parent 7a079c5e0c
commit 3d3562dcda

@ -98,6 +98,14 @@ namespace NzbDrone.Core.Notifications.Discord
discordField.Name = "Links";
discordField.Value = GetLinksString(message.Movie);
break;
case DiscordGrabFieldType.CustomFormats:
discordField.Name = "Custom Formats";
discordField.Value = string.Join("|", message.RemoteMovie.CustomFormats);
break;
case DiscordGrabFieldType.CustomFormatScore:
discordField.Name = "Custom Format Score";
discordField.Value = message.RemoteMovie.CustomFormatScore.ToString();
break;
}
if (discordField.Name.IsNotNullOrWhiteSpace() && discordField.Value.IsNotNullOrWhiteSpace())

@ -11,7 +11,9 @@ namespace NzbDrone.Core.Notifications.Discord
Links,
Release,
Poster,
Fanart
Fanart,
CustomFormats,
CustomFormatScore
}
public enum DiscordImportFieldType

Loading…
Cancel
Save