mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-22 22:15:17 -04:00
@@ -0,0 +1,28 @@
|
||||
using NzbDrone.Core.MediaFiles;
|
||||
|
||||
namespace NzbDrone.Core.Notifications.Webhook
|
||||
{
|
||||
class WebhookMovieFile
|
||||
{
|
||||
public WebhookMovieFile() { }
|
||||
|
||||
public WebhookMovieFile(MovieFile movieFile)
|
||||
{
|
||||
Id = movieFile.Id;
|
||||
RelativePath = movieFile.RelativePath;
|
||||
Path = movieFile.Path;
|
||||
Quality = movieFile.Quality.Quality.Name;
|
||||
QualityVersion = movieFile.Quality.Revision.Version;
|
||||
ReleaseGroup = movieFile.ReleaseGroup;
|
||||
SceneName = movieFile.SceneName;
|
||||
}
|
||||
|
||||
public int Id { get; set; }
|
||||
public string RelativePath { get; set; }
|
||||
public string Path { get; set; }
|
||||
public string Quality { get; set; }
|
||||
public int QualityVersion { get; set; }
|
||||
public string ReleaseGroup { get; set; }
|
||||
public string SceneName { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user