|
|
@ -134,7 +134,7 @@ namespace NzbDrone.Core.Notifications.CustomScript
|
|
|
|
|
|
|
|
|
|
|
|
var environmentVariables = new StringDictionary();
|
|
|
|
var environmentVariables = new StringDictionary();
|
|
|
|
|
|
|
|
|
|
|
|
environmentVariables.Add("Sonarr_EventType", "EpisodeDeleted");
|
|
|
|
environmentVariables.Add("Sonarr_EventType", "EpisodeFileDelete");
|
|
|
|
environmentVariables.Add("Sonarr_Series_Id", series.Id.ToString());
|
|
|
|
environmentVariables.Add("Sonarr_Series_Id", series.Id.ToString());
|
|
|
|
environmentVariables.Add("Sonarr_Series_Title", series.Title);
|
|
|
|
environmentVariables.Add("Sonarr_Series_Title", series.Title);
|
|
|
|
environmentVariables.Add("Sonarr_Series_Path", series.Path);
|
|
|
|
environmentVariables.Add("Sonarr_Series_Path", series.Path);
|
|
|
@ -164,7 +164,7 @@ namespace NzbDrone.Core.Notifications.CustomScript
|
|
|
|
var series = deleteMessage.Series;
|
|
|
|
var series = deleteMessage.Series;
|
|
|
|
var environmentVariables = new StringDictionary();
|
|
|
|
var environmentVariables = new StringDictionary();
|
|
|
|
|
|
|
|
|
|
|
|
environmentVariables.Add("Sonarr_EventType", "SeriesDeleted");
|
|
|
|
environmentVariables.Add("Sonarr_EventType", "SeriesDelete");
|
|
|
|
environmentVariables.Add("Sonarr_Series_Id", series.Id.ToString());
|
|
|
|
environmentVariables.Add("Sonarr_Series_Id", series.Id.ToString());
|
|
|
|
environmentVariables.Add("Sonarr_Series_Title", series.Title);
|
|
|
|
environmentVariables.Add("Sonarr_Series_Title", series.Title);
|
|
|
|
environmentVariables.Add("Sonarr_Series_Path", series.Path);
|
|
|
|
environmentVariables.Add("Sonarr_Series_Path", series.Path);
|
|
|
|