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 @@ public override void OnDownload(DownloadMessage message) public override void OnMovieRename(Movie movie, List renamedFiles) { - var attachments = new List - { - new Embed - { - Title = movie.Title, - } - }; + var attachments = new List(); + + 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 @@ public override void OnDownload(DownloadMessage message) public override void OnMovieRename(Movie movie, List renamedFiles) { - var attachments = new List - { - new Attachment - { - Title = movie.Title, - } - }; + var attachments = new List(); + + 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);