1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-20 21:55:03 -04:00

Add import date to upgraded episodes in CustomScript and Webhook connections

Fixes #7547

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
Qstick
2022-10-17 22:53:48 -05:00
parent 4280df8b61
commit 2958faf4a8
2 changed files with 4 additions and 0 deletions
@@ -100,6 +100,7 @@ namespace NzbDrone.Core.Notifications.CustomScript
{
environmentVariables.Add("Radarr_DeletedRelativePaths", string.Join("|", message.OldMovieFiles.Select(e => e.RelativePath)));
environmentVariables.Add("Radarr_DeletedPaths", string.Join("|", message.OldMovieFiles.Select(e => Path.Combine(movie.Path, e.RelativePath))));
environmentVariables.Add("Radarr_DeletedDateAdded", string.Join("|", message.OldMovieFiles.Select(e => e.DateAdded)));
}
ExecuteScript(environmentVariables);