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