This commit is contained in:
servarr[bot] 2025-06-17 21:12:14 +02:00 committed by GitHub
commit edea25c93d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 1 deletions

View file

@ -209,6 +209,14 @@ namespace NzbDrone.Core.Notifications.Discord
discordField.Name = "Links"; discordField.Name = "Links";
discordField.Value = GetLinksString(artist); discordField.Value = GetLinksString(artist);
break; break;
case DiscordImportFieldType.CustomFormats:
discordField.Name = "Custom Formats";
discordField.Value = string.Join("|", message.EpisodeInfo.CustomFormats);
break;
case DiscordImportFieldType.CustomFormatScore:
discordField.Name = "Custom Format Score";
discordField.Value = message.EpisodeInfo.CustomFormatScore.ToString();
break;
} }
if (discordField.Name.IsNotNullOrWhiteSpace() && discordField.Value.IsNotNullOrWhiteSpace()) if (discordField.Name.IsNotNullOrWhiteSpace() && discordField.Value.IsNotNullOrWhiteSpace())

View file

@ -28,6 +28,8 @@ namespace NzbDrone.Core.Notifications.Discord
Links, Links,
Release, Release,
Poster, Poster,
Fanart Fanart,
CustomFormats,
CustomFormatScore
} }
} }