diff --git a/src/NzbDrone.Core/Notifications/Discord/Discord.cs b/src/NzbDrone.Core/Notifications/Discord/Discord.cs index 9f6b69a89..083d07c54 100644 --- a/src/NzbDrone.Core/Notifications/Discord/Discord.cs +++ b/src/NzbDrone.Core/Notifications/Discord/Discord.cs @@ -216,13 +216,16 @@ namespace NzbDrone.Core.Notifications.Discord public override void OnMovieRename(Movie movie, List<RenamedMovieFile> renamedFiles) { - var attachments = new List<Embed> - { - new Embed - { - Title = movie.Title, - } - }; + var attachments = new List<Embed>(); + + foreach (RenamedMovieFile renamedFile in renamedFiles) + { + attachments.Add(new Embed + { + Title = movie.Title, + Description = renamedFile.PreviousRelativePath + " renamed to " + renamedFile.MovieFile.RelativePath, + }); + } var payload = CreatePayload("Renamed", attachments); diff --git a/src/NzbDrone.Core/Notifications/Slack/Slack.cs b/src/NzbDrone.Core/Notifications/Slack/Slack.cs index ed79e8e45..a9a2d3349 100644 --- a/src/NzbDrone.Core/Notifications/Slack/Slack.cs +++ b/src/NzbDrone.Core/Notifications/Slack/Slack.cs @@ -59,13 +59,16 @@ namespace NzbDrone.Core.Notifications.Slack public override void OnMovieRename(Movie movie, List<RenamedMovieFile> renamedFiles) { - var attachments = new List<Attachment> - { - new Attachment - { - Title = movie.Title, - } - }; + var attachments = new List<Attachment>(); + + foreach (RenamedMovieFile renamedFile in renamedFiles) + { + attachments.Add(new Attachment + { + Title = movie.Title, + Text = renamedFile.PreviousRelativePath + " renamed to " + renamedFile.MovieFile.RelativePath, + }); + } var payload = CreatePayload("Renamed", attachments);