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;
|
2014-01-01 18:26:31 +00:00
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.LiveTv
|
|
|
|
|
{
|
2015-03-12 15:51:48 +00:00
|
|
|
|
public interface ILiveTvRecording : IHasImages, IHasMediaSources, IHasUserData, ILiveTvItem
|
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
|
|
|
|
RecordingInfo RecordingInfo { get; set; }
|
|
|
|
|
|
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);
|
2014-01-01 18:26:31 +00:00
|
|
|
|
}
|
|
|
|
|
}
|