jellyfin/MediaBrowser.Controller/LiveTv/ILiveTvRecording.cs

47 lines
1.3 KiB
C#
Raw Normal View History

using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Library;
using MediaBrowser.Controller.Providers;
using MediaBrowser.Model.Library;
2015-06-01 17:07:55 +00:00
using MediaBrowser.Model.LiveTv;
using System;
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
{
2015-06-01 17:07:55 +00:00
string ChannelId { get; }
string ProgramId { get; set; }
string MediaType { get; }
string Container { get; }
long? RunTimeTicks { get; set; }
string GetClientTypeName();
bool IsParentalAllowed(User user);
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
string ProviderImagePath { get; set; }
string ProviderImageUrl { get; set; }
string ExternalId { get; set; }
string EpisodeTitle { get; set; }
bool IsSeries { get; set; }
string SeriesTimerId { get; set; }
RecordingStatus Status { get; set; }
DateTime? EndDate { get; set; }
ChannelType ChannelType { get; set; }
}
}