mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 03:52:33 +02:00
New: Add indexer option for Discord on grab notifications
Fixes #8242 Co-Authored-By: lodu <48859312+lodu@users.noreply.github.com>
This commit is contained in:
parent
ac26bcddd9
commit
d35c6683e9
@ -107,6 +107,10 @@ public override void OnGrab(GrabMessage message)
|
||||
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 @@ public enum DiscordGrabFieldType
|
||||
Poster,
|
||||
Fanart,
|
||||
CustomFormats,
|
||||
CustomFormatScore
|
||||
CustomFormatScore,
|
||||
Indexer
|
||||
}
|
||||
|
||||
public enum DiscordImportFieldType
|
||||
|
Loading…
Reference in New Issue
Block a user