jellyfin/Emby.Naming/Video/VideoInfo.cs

51 lines
1.4 KiB
C#
Raw Normal View History

using System.Collections.Generic;
2018-09-12 19:26:21 +02:00
namespace Emby.Naming.Video
{
/// <summary>
2019-10-25 12:47:20 +02:00
/// Represents a complete video, including all parts and subtitles.
2018-09-12 19:26:21 +02:00
/// </summary>
public class VideoInfo
{
/// <summary>
/// Initializes a new instance of the <see cref="VideoInfo" /> class.
/// </summary>
public VideoInfo()
{
Files = new List<VideoFileInfo>();
Extras = new List<VideoFileInfo>();
AlternateVersions = new List<VideoFileInfo>();
}
2018-09-12 19:26:21 +02:00
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>The name.</value>
public string Name { get; set; }
2019-05-10 20:37:42 +02:00
2018-09-12 19:26:21 +02:00
/// <summary>
/// Gets or sets the year.
/// </summary>
/// <value>The year.</value>
public int? Year { get; set; }
2019-05-10 20:37:42 +02:00
2018-09-12 19:26:21 +02:00
/// <summary>
/// Gets or sets the files.
/// </summary>
/// <value>The files.</value>
public List<VideoFileInfo> Files { get; set; }
2019-05-10 20:37:42 +02:00
2018-09-12 19:26:21 +02:00
/// <summary>
/// Gets or sets the extras.
/// </summary>
/// <value>The extras.</value>
public List<VideoFileInfo> Extras { get; set; }
2019-05-10 20:37:42 +02:00
2018-09-12 19:26:21 +02:00
/// <summary>
/// Gets or sets the alternate versions.
/// </summary>
/// <value>The alternate versions.</value>
public List<VideoFileInfo> AlternateVersions { get; set; }
}
}