jellyfin/MediaBrowser.Controller/LiveTv/ILiveTvRecording.cs

44 lines
1.2 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 10:07:55 -07:00
using MediaBrowser.Model.LiveTv;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Controller.LiveTv
{
2016-03-19 14:17:08 -07:00
public interface ILiveTvRecording : IHasImages, IHasMediaSources, IHasUserData, IHasStartDate, IHasProgramAttributes
{
2016-03-19 14:17:08 -07:00
string ServiceName { get; set; }
string ExternalId { get; set; }
2015-06-01 10:07:55 -07:00
string ChannelId { get; }
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-22 22:52:30 -07:00
PlayAccess GetPlayAccess(User user);
2015-02-05 22:39:07 -07:00
bool CanDelete();
bool CanDelete(User user);
2015-06-01 10:07:55 -07:00
string SeriesTimerId { get; set; }
2016-10-09 00:18:43 -07:00
string TimerId { get; set; }
2015-06-01 10:07:55 -07:00
RecordingStatus Status { get; set; }
DateTime? EndDate { get; set; }
2015-08-18 08:25:57 -07:00
DateTime DateLastSaved { get; set; }
DateTime DateCreated { get; set; }
DateTime DateModified { get; set; }
}
}