jellyfin/MediaBrowser.Controller/LiveTv/RecordingInfo.cs

184 lines
5.9 KiB
C#
Raw Normal View History

2013-11-25 19:53:48 -07:00
using MediaBrowser.Model.LiveTv;
using System;
2013-12-02 14:46:22 -07:00
using System.Collections.Generic;
2013-10-31 13:45:58 -07:00
2013-11-25 13:39:23 -07:00
namespace MediaBrowser.Controller.LiveTv
2013-10-31 13:45:58 -07:00
{
public class RecordingInfo
{
/// <summary>
/// Id of the recording.
/// </summary>
public string Id { get; set; }
2013-12-22 10:16:24 -07:00
/// <summary>
/// Gets or sets the series timer identifier.
/// </summary>
/// <value>The series timer identifier.</value>
public string SeriesTimerId { get; set; }
/// <summary>
/// ChannelId of the recording.
/// </summary>
2013-10-31 13:45:58 -07:00
public string ChannelId { get; set; }
/// <summary>
/// Gets or sets the type of the channel.
/// </summary>
/// <value>The type of the channel.</value>
public ChannelType ChannelType { get; set; }
/// <summary>
/// Name of the recording.
/// </summary>
2013-10-31 13:45:58 -07:00
public string Name { get; set; }
2013-12-02 14:46:22 -07:00
/// <summary>
/// Gets or sets the path.
/// </summary>
/// <value>The path.</value>
public string Path { get; set; }
2013-12-04 13:55:42 -07:00
2013-12-16 11:44:03 -07:00
/// <summary>
/// Gets or sets the URL.
/// </summary>
/// <value>The URL.</value>
public string Url { get; set; }
/// <summary>
2013-12-04 13:55:42 -07:00
/// Gets or sets the overview.
/// </summary>
2013-12-04 13:55:42 -07:00
/// <value>The overview.</value>
public string Overview { get; set; }
2013-10-31 13:45:58 -07:00
/// <summary>
/// The start date of the recording, in UTC.
2013-10-31 13:45:58 -07:00
/// </summary>
public DateTime StartDate { get; set; }
/// <summary>
/// The end date of the recording, in UTC.
2013-10-31 13:45:58 -07:00
/// </summary>
public DateTime EndDate { get; set; }
/// <summary>
/// Gets or sets the program identifier.
/// </summary>
/// <value>The program identifier.</value>
public string ProgramId { get; set; }
/// <summary>
2013-11-25 19:53:48 -07:00
/// Gets or sets the status.
/// </summary>
2013-11-25 19:53:48 -07:00
/// <value>The status.</value>
public RecordingStatus Status { get; set; }
2013-12-02 14:46:22 -07:00
/// <summary>
/// Genre of the program.
/// </summary>
public List<string> Genres { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is repeat.
/// </summary>
/// <value><c>true</c> if this instance is repeat; otherwise, <c>false</c>.</value>
public bool IsRepeat { get; set; }
/// <summary>
/// Gets or sets the episode title.
/// </summary>
/// <value>The episode title.</value>
public string EpisodeTitle { get; set; }
2013-12-04 13:55:42 -07:00
/// <summary>
/// Gets or sets a value indicating whether this instance is hd.
/// </summary>
/// <value><c>true</c> if this instance is hd; otherwise, <c>false</c>.</value>
public bool? IsHD { get; set; }
/// <summary>
/// Gets or sets the audio.
/// </summary>
/// <value>The audio.</value>
public ProgramAudio? Audio { get; set; }
2013-12-20 13:09:49 -07:00
/// <summary>
/// Gets or sets a value indicating whether this instance is movie.
/// </summary>
/// <value><c>true</c> if this instance is movie; otherwise, <c>false</c>.</value>
public bool IsMovie { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is sports.
/// </summary>
/// <value><c>true</c> if this instance is sports; otherwise, <c>false</c>.</value>
public bool IsSports { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is series.
/// </summary>
/// <value><c>true</c> if this instance is series; otherwise, <c>false</c>.</value>
public bool IsSeries { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is live.
/// </summary>
/// <value><c>true</c> if this instance is live; otherwise, <c>false</c>.</value>
public bool IsLive { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is news.
/// </summary>
/// <value><c>true</c> if this instance is news; otherwise, <c>false</c>.</value>
public bool IsNews { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is kids.
/// </summary>
/// <value><c>true</c> if this instance is kids; otherwise, <c>false</c>.</value>
public bool IsKids { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is premiere.
/// </summary>
/// <value><c>true</c> if this instance is premiere; otherwise, <c>false</c>.</value>
public bool IsPremiere { get; set; }
/// <summary>
/// Gets or sets the official rating.
/// </summary>
/// <value>The official rating.</value>
public string OfficialRating { get; set; }
/// <summary>
/// Gets or sets the community rating.
/// </summary>
/// <value>The community rating.</value>
public float? CommunityRating { get; set; }
2013-12-13 08:48:48 -07:00
/// <summary>
2013-12-19 14:51:32 -07:00
/// Supply the image path if it can be accessed directly from the file system
2013-12-13 08:48:48 -07:00
/// </summary>
2013-12-19 14:51:32 -07:00
/// <value>The image path.</value>
public string ImagePath { get; set; }
/// <summary>
/// Supply the image url if it can be downloaded
/// </summary>
/// <value>The image URL.</value>
public string ImageUrl { get; set; }
2013-12-13 08:48:48 -07:00
2013-12-22 10:16:24 -07:00
/// <summary>
/// Gets or sets a value indicating whether this instance has image.
/// </summary>
/// <value><c>null</c> if [has image] contains no value, <c>true</c> if [has image]; otherwise, <c>false</c>.</value>
public bool? HasImage { get; set; }
2013-12-02 14:46:22 -07:00
public RecordingInfo()
{
Genres = new List<string>();
}
2013-10-31 13:45:58 -07:00
}
2013-11-25 13:39:23 -07:00
}