mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
New: Add indexer option for Discord on grab notifications
(cherry picked from commit 5d09b84b05ab70662830e910c8f5e98af7830d45)
This commit is contained in:
parent
ace0f265cb
commit
dc5a5240be
2 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue