From c77fd1a6fc6e6784bb576064b8d92ed04108839d Mon Sep 17 00:00:00 2001 From: EnorMOZ <13998170+EnorMOZ@users.noreply.github.com> Date: Mon, 6 Jan 2020 07:00:40 -0500 Subject: [PATCH] New: Add Radarr_Download_Client to OnDownload (#4034) * Add Radarr_Download_Client to OnDownload * Add Radarr_Download_Client to OnDownload --- src/NzbDrone.Core/Notifications/CustomScript/CustomScript.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/NzbDrone.Core/Notifications/CustomScript/CustomScript.cs b/src/NzbDrone.Core/Notifications/CustomScript/CustomScript.cs index f72bdb893..6ae8f97cf 100755 --- a/src/NzbDrone.Core/Notifications/CustomScript/CustomScript.cs +++ b/src/NzbDrone.Core/Notifications/CustomScript/CustomScript.cs @@ -86,6 +86,7 @@ namespace NzbDrone.Core.Notifications.CustomScript environmentVariables.Add("Radarr_MovieFile_SourcePath", sourcePath); environmentVariables.Add("Radarr_MovieFile_SourceFolder", Path.GetDirectoryName(sourcePath)); environmentVariables.Add("Radarr_Download_Id", message.DownloadId ?? string.Empty); + environmentVariables.Add("Radarr_Download_Client", message.DownloadClient ?? string.Empty); if (message.OldMovieFiles.Any()) {