New: Add indexer option for Discord on grab notifications

Fixes #8242

Co-Authored-By: lodu <48859312+lodu@users.noreply.github.com>
pull/8285/head
Qstick 2 years ago
parent ac26bcddd9
commit d35c6683e9

@ -107,6 +107,10 @@ namespace NzbDrone.Core.Notifications.Discord
discordField.Name = "Custom Format Score";
discordField.Value = message.RemoteMovie.CustomFormatScore.ToString();
break;
case DiscordGrabFieldType.Indexer:
discordField.Name = "Indexer";
discordField.Value = message.RemoteMovie.Release.Indexer;
break;
}
if (discordField.Name.IsNotNullOrWhiteSpace() && discordField.Value.IsNotNullOrWhiteSpace())

@ -13,7 +13,8 @@ namespace NzbDrone.Core.Notifications.Discord
Poster,
Fanart,
CustomFormats,
CustomFormatScore
CustomFormatScore,
Indexer
}
public enum DiscordImportFieldType

Loading…
Cancel
Save