mirror of
https://github.com/Radarr/Radarr.git
synced 2026-03-28 18:05:41 -04:00
35 lines
1.1 KiB
C#
Executable File
35 lines
1.1 KiB
C#
Executable File
using NzbDrone.Core.MediaFiles;
|
|
|
|
namespace NzbDrone.Core.Notifications.Webhook
|
|
{
|
|
public 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;
|
|
IndexerFlags = movieFile.IndexerFlags.ToString();
|
|
Size = movieFile.Size;
|
|
}
|
|
|
|
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; }
|
|
public string IndexerFlags { get; set; }
|
|
public long Size { get; set; }
|
|
}
|
|
}
|