New: Include source path with Webhook import event movie file

(cherry picked from commit 73208e2f60263b1236f094a2bf6c47ebd5a8a271)

Closes #10635
pull/10622/head
Mark McDowall 2 weeks ago committed by Bogdan
parent 5976d66511
commit b22a86e1d7

@ -60,7 +60,10 @@ namespace NzbDrone.Core.Notifications.Webhook
ApplicationUrl = _configService.ApplicationUrl,
Movie = GetMovie(message.Movie),
RemoteMovie = new WebhookRemoteMovie(message.Movie),
MovieFile = new WebhookMovieFile(movieFile),
MovieFile = new WebhookMovieFile(movieFile)
{
SourcePath = message.SourcePath
},
Release = new WebhookGrabbedRelease(message.Release),
IsUpgrade = message.OldMovieFiles.Any(),
DownloadClient = message.DownloadClientInfo?.Name,

@ -39,6 +39,7 @@ namespace NzbDrone.Core.Notifications.Webhook
public long Size { get; set; }
public DateTime DateAdded { get; set; }
public WebhookMovieFileMediaInfo MediaInfo { get; set; }
public string SourcePath { get; set; }
public string RecycleBinPath { get; set; }
}
}

Loading…
Cancel
Save