|
|
|
@ -40,7 +40,7 @@ namespace NzbDrone.Core.Notifications.CustomScript
|
|
|
|
|
environmentVariables.Add("Sonarr_Series_Title", series.Title);
|
|
|
|
|
environmentVariables.Add("Sonarr_Series_TvdbId", series.TvdbId.ToString());
|
|
|
|
|
environmentVariables.Add("Sonarr_Series_TvMazeId", series.TvMazeId.ToString());
|
|
|
|
|
environmentVariables.Add("Sonarr_Series_ImdbId", series.ImdbId);
|
|
|
|
|
environmentVariables.Add("Sonarr_Series_ImdbId", series.ImdbId ?? string.Empty);
|
|
|
|
|
environmentVariables.Add("Sonarr_Series_Type", series.SeriesType.ToString());
|
|
|
|
|
environmentVariables.Add("Sonarr_Release_EpisodeCount", remoteEpisode.Episodes.Count.ToString());
|
|
|
|
|
environmentVariables.Add("Sonarr_Release_SeasonNumber", remoteEpisode.ParsedEpisodeInfo.SeasonNumber.ToString());
|
|
|
|
@ -72,7 +72,7 @@ namespace NzbDrone.Core.Notifications.CustomScript
|
|
|
|
|
environmentVariables.Add("Sonarr_Series_Path", series.Path);
|
|
|
|
|
environmentVariables.Add("Sonarr_Series_TvdbId", series.TvdbId.ToString());
|
|
|
|
|
environmentVariables.Add("Sonarr_Series_TvMazeId", series.TvMazeId.ToString());
|
|
|
|
|
environmentVariables.Add("Sonarr_Series_ImdbId", series.ImdbId);
|
|
|
|
|
environmentVariables.Add("Sonarr_Series_ImdbId", series.ImdbId ?? string.Empty);
|
|
|
|
|
environmentVariables.Add("Sonarr_Series_Type", series.SeriesType.ToString());
|
|
|
|
|
environmentVariables.Add("Sonarr_EpisodeFile_Id", episodeFile.Id.ToString());
|
|
|
|
|
environmentVariables.Add("Sonarr_EpisodeFile_EpisodeCount", episodeFile.Episodes.Value.Count.ToString());
|
|
|
|
@ -109,7 +109,7 @@ namespace NzbDrone.Core.Notifications.CustomScript
|
|
|
|
|
environmentVariables.Add("Sonarr_Series_Path", series.Path);
|
|
|
|
|
environmentVariables.Add("Sonarr_Series_TvdbId", series.TvdbId.ToString());
|
|
|
|
|
environmentVariables.Add("Sonarr_Series_TvMazeId", series.TvMazeId.ToString());
|
|
|
|
|
environmentVariables.Add("Sonarr_Series_ImdbId", series.ImdbId);
|
|
|
|
|
environmentVariables.Add("Sonarr_Series_ImdbId", series.ImdbId ?? string.Empty);
|
|
|
|
|
environmentVariables.Add("Sonarr_Series_Type", series.SeriesType.ToString());
|
|
|
|
|
|
|
|
|
|
ExecuteScript(environmentVariables);
|
|
|
|
|