2014-01-01 11:26:31 -07:00
|
|
|
|
using MediaBrowser.Controller.Entities;
|
2014-01-28 11:37:01 -07:00
|
|
|
|
using MediaBrowser.Controller.Providers;
|
2014-03-30 09:49:40 -07:00
|
|
|
|
using MediaBrowser.Model.Library;
|
2014-01-01 11:26:31 -07:00
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.LiveTv
|
|
|
|
|
{
|
2014-07-03 19:22:57 -07:00
|
|
|
|
public interface ILiveTvRecording : IHasImages, IHasMediaSources, IHasUserData
|
2014-01-01 11:26:31 -07:00
|
|
|
|
{
|
|
|
|
|
string ServiceName { get; set; }
|
|
|
|
|
|
|
|
|
|
string MediaType { get; }
|
|
|
|
|
|
2014-04-27 11:09:16 -07:00
|
|
|
|
string Container { get; }
|
|
|
|
|
|
2014-01-01 11:26:31 -07:00
|
|
|
|
RecordingInfo RecordingInfo { get; set; }
|
|
|
|
|
|
2014-03-30 09:49:40 -07:00
|
|
|
|
long? RunTimeTicks { get; set; }
|
|
|
|
|
|
2014-01-01 11:26:31 -07:00
|
|
|
|
string GetClientTypeName();
|
|
|
|
|
|
|
|
|
|
bool IsParentalAllowed(User user);
|
|
|
|
|
|
2014-02-05 21:39:16 -07:00
|
|
|
|
Task RefreshMetadata(MetadataRefreshOptions options, CancellationToken cancellationToken);
|
2014-02-22 22:52:30 -07:00
|
|
|
|
|
|
|
|
|
PlayAccess GetPlayAccess(User user);
|
2015-02-05 22:39:07 -07:00
|
|
|
|
|
|
|
|
|
bool CanDelete();
|
|
|
|
|
|
|
|
|
|
bool CanDelete(User user);
|
2014-01-01 11:26:31 -07:00
|
|
|
|
}
|
|
|
|
|
}
|