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.Name = "Links";
|
||||||
discordField.Value = GetLinksString(message.Movie);
|
discordField.Value = GetLinksString(message.Movie);
|
||||||
break;
|
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())
|
if (discordField.Name.IsNotNullOrWhiteSpace() && discordField.Value.IsNotNullOrWhiteSpace())
|
||||||
|
@ -11,7 +11,9 @@ public enum DiscordGrabFieldType
|
|||||||
Links,
|
Links,
|
||||||
Release,
|
Release,
|
||||||
Poster,
|
Poster,
|
||||||
Fanart
|
Fanart,
|
||||||
|
CustomFormats,
|
||||||
|
CustomFormatScore
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum DiscordImportFieldType
|
public enum DiscordImportFieldType
|
||||||
|
Loading…
Reference in New Issue
Block a user