Added indexer flags to the list of environmental variable for customs scripts (on grab) (#2801)

Fixes #1282
pull/2/head
bobbintb 7 years ago committed by Leonardo Galli
parent 009abaf9be
commit d05fb8ee33

@ -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);
}

Loading…
Cancel
Save