mirror of
https://github.com/Radarr/Radarr.git
synced 2026-03-05 13:21:25 -05:00
New: Include source path with Webhook import event movie file
(cherry picked from commit 73208e2f60263b1236f094a2bf6c47ebd5a8a271) Closes #10635
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user