mirror of
https://github.com/Radarr/Radarr.git
synced 2024-08-18 16:29:41 +02:00
parent
7a079c5e0c
commit
3d3562dcda
@ -98,6 +98,14 @@ public override void OnGrab(GrabMessage message)
|
||||
discordField.Name = "Links";
|
||||
discordField.Value = GetLinksString(message.Movie);
|
||||
break;
|
||||
case DiscordGrabFieldType.CustomFormats:
|
||||
discordField.Name = "Custom Formats";
|
||||
discordField.Value = string.Join("|", message.RemoteMovie.CustomFormats);
|
||||
break;
|
||||
case DiscordGrabFieldType.CustomFormatScore:
|
||||
discordField.Name = "Custom Format Score";
|
||||
discordField.Value = message.RemoteMovie.CustomFormatScore.ToString();
|
||||
break;
|
||||
}
|
||||
|
||||
if (discordField.Name.IsNotNullOrWhiteSpace() && discordField.Value.IsNotNullOrWhiteSpace())
|
||||
|
@ -11,7 +11,9 @@ public enum DiscordGrabFieldType
|
||||
Links,
|
||||
Release,
|
||||
Poster,
|
||||
Fanart
|
||||
Fanart,
|
||||
CustomFormats,
|
||||
CustomFormatScore
|
||||
}
|
||||
|
||||
public enum DiscordImportFieldType
|
||||
|
Loading…
Reference in New Issue
Block a user