diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-11-29 11:58:24 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-11-29 11:58:24 -0500 |
| commit | 235b838fbe262f3f41cd64c8506d067c9ef9253e (patch) | |
| tree | 4c210d714cf6a0035c1bda623847d7d7b883a3ed /MediaBrowser.Model/LiveTv | |
| parent | 4892fb4e95f982527769620595e924c364204310 (diff) | |
support deleting and canceling live tv recordings and timers
Diffstat (limited to 'MediaBrowser.Model/LiveTv')
| -rw-r--r-- | MediaBrowser.Model/LiveTv/RecordingStatus.cs | 7 | ||||
| -rw-r--r-- | MediaBrowser.Model/LiveTv/TimerInfoDto.cs | 24 |
2 files changed, 16 insertions, 15 deletions
diff --git a/MediaBrowser.Model/LiveTv/RecordingStatus.cs b/MediaBrowser.Model/LiveTv/RecordingStatus.cs index b8af8f6e22..7789773407 100644 --- a/MediaBrowser.Model/LiveTv/RecordingStatus.cs +++ b/MediaBrowser.Model/LiveTv/RecordingStatus.cs @@ -10,4 +10,11 @@ namespace MediaBrowser.Model.LiveTv Conflicted, Deleted } + + public enum RecurrenceType + { + Manual, + NewProgramEvents, + AllProgramEvents + } } diff --git a/MediaBrowser.Model/LiveTv/TimerInfoDto.cs b/MediaBrowser.Model/LiveTv/TimerInfoDto.cs index 6a8339031a..ddefce59e2 100644 --- a/MediaBrowser.Model/LiveTv/TimerInfoDto.cs +++ b/MediaBrowser.Model/LiveTv/TimerInfoDto.cs @@ -1,11 +1,10 @@ using System; -using System.Collections.Generic; namespace MediaBrowser.Model.LiveTv { public class TimerInfoDto { - /// <summary> + /// <summary> /// Id of the recording. /// </summary> public string Id { get; set; } @@ -15,7 +14,7 @@ namespace MediaBrowser.Model.LiveTv /// </summary> /// <value>The external identifier.</value> public string ExternalId { get; set; } - + /// <summary> /// ChannelId of the recording. /// </summary> @@ -27,6 +26,12 @@ namespace MediaBrowser.Model.LiveTv public string ChannelName { get; set; } /// <summary> + /// Gets or sets the program identifier. + /// </summary> + /// <value>The program identifier.</value> + public string ProgramId { get; set; } + + /// <summary> /// Name of the recording. /// </summary> public string Name { get; set; } @@ -57,16 +62,5 @@ namespace MediaBrowser.Model.LiveTv /// </summary> /// <value><c>true</c> if this instance is recurring; otherwise, <c>false</c>.</value> public bool IsRecurring { get; set; } - - /// <summary> - /// Gets or sets the recurring days. - /// </summary> - /// <value>The recurring days.</value> - public List<DayOfWeek> RecurringDays { get; set; } - - public TimerInfoDto() - { - RecurringDays = new List<DayOfWeek>(); - } - } + } } |
