1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

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

Fixes #1282
This commit is contained in:
bobbintb 2018-05-24 15:51:55 -06:00 committed by Leonardo Galli
parent 009abaf9be
commit d05fb8ee33

View File

@ -45,6 +45,7 @@ public override void OnGrab(GrabMessage message)
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);
}