2014-01-01 18:26:31 +00:00
|
|
|
|
using MediaBrowser.Controller.Entities;
|
2015-03-11 02:07:07 +00:00
|
|
|
|
using MediaBrowser.Controller.Library;
|
2014-01-28 18:37:01 +00:00
|
|
|
|
using MediaBrowser.Controller.Providers;
|
2014-03-30 16:49:40 +00:00
|
|
|
|
using MediaBrowser.Model.Library;
|
2015-06-01 17:07:55 +00:00
|
|
|
|
using MediaBrowser.Model.LiveTv;
|
|
|
|
|
using System;
|
2014-01-01 18:26:31 +00:00
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.LiveTv
|
|
|
|
|
{
|
2017-08-07 21:06:13 +00:00
|
|
|
|
public interface ILiveTvRecording : IHasMetadata, IHasMediaSources, IHasUserData, IHasStartDate, IHasProgramAttributes
|
2014-01-01 18:26:31 +00:00
|
|
|
|
{
|
2016-03-19 21:17:08 +00:00
|
|
|
|
string ServiceName { get; set; }
|
|
|
|
|
string ExternalId { get; set; }
|
2015-06-01 17:07:55 +00:00
|
|
|
|
string ChannelId { get; }
|
2014-01-01 18:26:31 +00:00
|
|
|
|
string MediaType { get; }
|
|
|
|
|
|
2014-04-27 18:09:16 +00:00
|
|
|
|
string Container { get; }
|
|
|
|
|
|
2014-01-01 18:26:31 +00:00
|
|
|
|
string GetClientTypeName();
|
|
|
|
|
|
|
|
|
|
bool IsParentalAllowed(User user);
|
|
|
|
|
|
2015-03-11 02:07:07 +00:00
|
|
|
|
Task<ItemUpdateType> RefreshMetadata(MetadataRefreshOptions options, CancellationToken cancellationToken);
|
2014-02-23 05:52:30 +00:00
|
|
|
|
|
|
|
|
|
PlayAccess GetPlayAccess(User user);
|
2015-02-06 05:39:07 +00:00
|
|
|
|
|
|
|
|
|
bool CanDelete();
|
|
|
|
|
|
|
|
|
|
bool CanDelete(User user);
|
2015-06-01 17:07:55 +00:00
|
|
|
|
|
|
|
|
|
string SeriesTimerId { get; set; }
|
2016-10-09 07:18:43 +00:00
|
|
|
|
string TimerId { get; set; }
|
2015-06-01 17:07:55 +00:00
|
|
|
|
RecordingStatus Status { get; set; }
|
|
|
|
|
DateTime? EndDate { get; set; }
|
2015-08-18 15:25:57 +00:00
|
|
|
|
DateTime DateCreated { get; set; }
|
2014-01-01 18:26:31 +00:00
|
|
|
|
}
|
|
|
|
|
}
|