New: Add indexer option for Discord on grab notifications
This commit is contained in:
parent
3d24e412a6
commit
5d09b84b05
|
@ -101,6 +101,10 @@ namespace NzbDrone.Core.Notifications.Discord
|
|||
discordField.Name = "Links";
|
||||
discordField.Value = GetLinksString(series);
|
||||
break;
|
||||
case DiscordGrabFieldType.Indexer:
|
||||
discordField.Name = "Indexer";
|
||||
discordField.Value = message.Episode.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…
Reference in New Issue