From d05fb8ee33108f1537e62b3ae1914adfe718a61f Mon Sep 17 00:00:00 2001 From: bobbintb Date: Thu, 24 May 2018 15:51:55 -0600 Subject: [PATCH] Added indexer flags to the list of environmental variable for customs scripts (on grab) (#2801) Fixes #1282 --- 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 87e00e78b..681f145d8 100755 --- a/src/NzbDrone.Core/Notifications/CustomScript/CustomScript.cs +++ b/src/NzbDrone.Core/Notifications/CustomScript/CustomScript.cs @@ -45,6 +45,7 @@ namespace NzbDrone.Core.Notifications.CustomScript environmentVariables.Add("Radarr_Release_ReleaseGroup", remoteMovie.ParsedMovieInfo.ReleaseGroup ?? string.Empty); environmentVariables.Add("Radarr_Release_Quality", quality.Quality.Name); environmentVariables.Add("Radarr_Release_QualityVersion", quality.Revision.Version.ToString()); + environmentVariables.Add("Radarr_IndexerFlags", remoteMovie.Release.IndexerFlags.ToString()); ExecuteScript(environmentVariables); }