From 933fca78e65c146b3cf16eefce6410b21e18cdbe Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 12 Apr 2015 14:58:21 -0400 Subject: support sync for live tv recordings --- MediaBrowser.Model/LiveTv/RecordingInfoDto.cs | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'MediaBrowser.Model/LiveTv') diff --git a/MediaBrowser.Model/LiveTv/RecordingInfoDto.cs b/MediaBrowser.Model/LiveTv/RecordingInfoDto.cs index d6d6980381..0988b11a6e 100644 --- a/MediaBrowser.Model/LiveTv/RecordingInfoDto.cs +++ b/MediaBrowser.Model/LiveTv/RecordingInfoDto.cs @@ -2,6 +2,7 @@ using MediaBrowser.Model.Entities; using MediaBrowser.Model.Extensions; using MediaBrowser.Model.Library; +using MediaBrowser.Model.Sync; using System; using System.Collections.Generic; using System.ComponentModel; @@ -11,7 +12,7 @@ using System.Runtime.Serialization; namespace MediaBrowser.Model.LiveTv { [DebuggerDisplay("Name = {Name}, ChannelName = {ChannelName}")] - public class RecordingInfoDto : IHasPropertyChangedEvent, IItemDto, IHasServerId + public class RecordingInfoDto : IHasPropertyChangedEvent, IItemDto, IHasServerId, IHasSyncInfo { /// /// Id of the recording. @@ -35,6 +36,27 @@ namespace MediaBrowser.Model.LiveTv /// /// The original primary image aspect ratio. public double? OriginalPrimaryImageAspectRatio { get; set; } + + /// + /// Gets or sets a value indicating whether [supports synchronize]. + /// + /// null if [supports synchronize] contains no value, true if [supports synchronize]; otherwise, false. + public bool? SupportsSync { get; set; } + /// + /// Gets or sets a value indicating whether this instance has synchronize job. + /// + /// null if [has synchronize job] contains no value, true if [has synchronize job]; otherwise, false. + public bool? HasSyncJob { get; set; } + /// + /// Gets or sets a value indicating whether this instance is synced. + /// + /// null if [is synced] contains no value, true if [is synced]; otherwise, false. + public bool? IsSynced { get; set; } + /// + /// Gets or sets the synchronize status. + /// + /// The synchronize status. + public SyncJobItemStatus? SyncStatus { get; set; } /// /// Gets or sets the series timer identifier. -- cgit v1.2.3