New: Add indexer option for Discord on grab notifications

(cherry picked from commit 5d09b84b05ab70662830e910c8f5e98af7830d45)
pull/3128/head
lodu 1 year ago committed by Bogdan
parent ace0f265cb
commit dc5a5240be

@ -101,6 +101,10 @@ namespace NzbDrone.Core.Notifications.Discord
discordField.Name = "Links";
discordField.Value = GetLinksString(artist);
break;
case DiscordGrabFieldType.Indexer:
discordField.Name = "Indexer";
discordField.Value = message.RemoteAlbum.Release.Indexer;
break;
}
if (discordField.Name.IsNotNullOrWhiteSpace() && discordField.Value.IsNotNullOrWhiteSpace())

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

Loading…
Cancel
Save