mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-26 22:46:53 -04:00
New: Add recycle bin path for deleted movies to webhook/custom script
(cherry picked from commit a71d40edba1388d67e4deefd8bfc354a7a83c6b1) Closes #9674
This commit is contained in:
@@ -66,9 +66,10 @@ namespace NzbDrone.Core.Notifications.Webhook
|
||||
if (message.OldMovieFiles.Any())
|
||||
{
|
||||
payload.DeletedFiles = message.OldMovieFiles.ConvertAll(x =>
|
||||
new WebhookMovieFile(x)
|
||||
new WebhookMovieFile(x.MovieFile)
|
||||
{
|
||||
Path = Path.Combine(message.Movie.Path, x.RelativePath)
|
||||
Path = Path.Combine(message.Movie.Path, x.MovieFile.RelativePath),
|
||||
RecycleBinPath = x.RecycleBinPath
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user