mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-19 21:44:30 -04:00
New: Add import date to upgrads in CustomScript and Webhook connections
Closes #1827
This commit is contained in:
@@ -88,6 +88,7 @@ namespace NzbDrone.Core.Notifications.CustomScript
|
||||
if (message.OldFiles.Any())
|
||||
{
|
||||
environmentVariables.Add("Readarr_DeletedPaths", string.Join("|", message.OldFiles.Select(e => e.Path)));
|
||||
environmentVariables.Add("Readarr_DeletedDateAdded", string.Join("|", message.OldFiles.Select(e => e.DateAdded)));
|
||||
}
|
||||
|
||||
ExecuteScript(environmentVariables);
|
||||
|
||||
Reference in New Issue
Block a user