Fixed: On Delete events for Custom Scripts not being executed

Closes #4688
This commit is contained in:
BubbleRep 2021-10-18 06:39:08 +02:00 committed by GitHub
parent 2e2733a2e1
commit cd30175308
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -164,6 +164,7 @@ namespace NzbDrone.Core.Notifications.CustomScript
environmentVariables.Add("Sonarr_EpisodeFile_ReleaseGroup", episodeFile.ReleaseGroup ?? string.Empty);
environmentVariables.Add("Sonarr_EpisodeFile_SceneName", episodeFile.SceneName ?? string.Empty);
ExecuteScript(environmentVariables);
}
public override void OnSeriesDelete(SeriesDeleteMessage deleteMessage)