mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-20 21:55:03 -04:00
Added: Download_Id to On Download/On Upgrade (#2229)
This commit is contained in:
committed by
Leonardo Galli
parent
d0174c7b7b
commit
cb857934c4
@@ -72,6 +72,7 @@ namespace NzbDrone.Core.Notifications.CustomScript
|
||||
environmentVariables.Add("Radarr_MovieFile_SceneName", movieFile.SceneName ?? string.Empty);
|
||||
environmentVariables.Add("Radarr_MovieFile_SourcePath", sourcePath);
|
||||
environmentVariables.Add("Radarr_MovieFile_SourceFolder", Path.GetDirectoryName(sourcePath));
|
||||
environmentVariables.Add("Radarr_Download_Id", message.DownloadId ?? string.Empty);
|
||||
|
||||
if (message.OldMovieFiles.Any())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user