diff --git a/src/NzbDrone.Core/Notifications/Webhook/WebhookBase.cs b/src/NzbDrone.Core/Notifications/Webhook/WebhookBase.cs index 017eb0746..041da3525 100644 --- a/src/NzbDrone.Core/Notifications/Webhook/WebhookBase.cs +++ b/src/NzbDrone.Core/Notifications/Webhook/WebhookBase.cs @@ -60,7 +60,10 @@ protected WebhookImportPayload BuildOnDownloadPayload(DownloadMessage message) 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, diff --git a/src/NzbDrone.Core/Notifications/Webhook/WebhookMovieFile.cs b/src/NzbDrone.Core/Notifications/Webhook/WebhookMovieFile.cs index 769777cf5..eff79d1d0 100755 --- a/src/NzbDrone.Core/Notifications/Webhook/WebhookMovieFile.cs +++ b/src/NzbDrone.Core/Notifications/Webhook/WebhookMovieFile.cs @@ -39,6 +39,7 @@ public WebhookMovieFile(MovieFile movieFile) 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; } } }