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
|
|
|
|
|
{
|
2015-06-01 17:07:55 +00:00
|
|
|
|
public interface ILiveTvRecording : IHasImages, IHasMediaSources, IHasUserData, ILiveTvItem, IHasStartDate, IHasProgramAttributes
|
2014-01-01 18:26:31 +00:00
|
|
|
|
{
|
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-03-30 16:49:40 +00:00
|
|
|
|
long? RunTimeTicks { get; set; }
|
|
|
|
|
|
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
|
|
|
|
|
2015-10-04 18:10:50 +00:00
|
|
|
|
string ExternalImagePath { get; set; }
|
2015-06-01 17:07:55 +00:00
|
|
|
|
|
|
|
|
|
string SeriesTimerId { get; set; }
|
|
|
|
|
RecordingStatus Status { get; set; }
|
|
|
|
|
DateTime? EndDate { get; set; }
|
2015-08-18 15:25:57 +00:00
|
|
|
|
DateTime DateLastSaved { get; set; }
|
|
|
|
|
DateTime DateCreated { get; set; }
|
|
|
|
|
DateTime DateModified { get; set; }
|
2014-01-01 18:26:31 +00:00
|
|
|
|
}
|
|
|
|
|
}
|