1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-30 07:22:35 +01:00

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

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)