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