|
|
@ -10,6 +10,7 @@ namespace NzbDrone.Core.Notifications.Webhook
|
|
|
|
public string Title { get; set; }
|
|
|
|
public string Title { get; set; }
|
|
|
|
public string FilePath { get; set; }
|
|
|
|
public string FilePath { get; set; }
|
|
|
|
public string ReleaseDate { get; set; }
|
|
|
|
public string ReleaseDate { get; set; }
|
|
|
|
|
|
|
|
public string FolderPath { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public WebhookMovie() { }
|
|
|
|
public WebhookMovie() { }
|
|
|
|
|
|
|
|
|
|
|
@ -18,6 +19,7 @@ namespace NzbDrone.Core.Notifications.Webhook
|
|
|
|
Id = movie.Id;
|
|
|
|
Id = movie.Id;
|
|
|
|
Title = movie.Title;
|
|
|
|
Title = movie.Title;
|
|
|
|
ReleaseDate = movie.PhysicalReleaseDate().ToString("yyyy-MM-dd");
|
|
|
|
ReleaseDate = movie.PhysicalReleaseDate().ToString("yyyy-MM-dd");
|
|
|
|
|
|
|
|
FolderPath = movie.Path;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public WebhookMovie(Movie movie, MovieFile movieFile) : this(movie)
|
|
|
|
public WebhookMovie(Movie movie, MovieFile movieFile) : this(movie)
|
|
|
|