diff --git a/MediaBrowser.Model/LiveTv/BaseTimerInfoDto.cs b/MediaBrowser.Model/LiveTv/BaseTimerInfoDto.cs index 0ceed70c05..7e93a130b6 100644 --- a/MediaBrowser.Model/LiveTv/BaseTimerInfoDto.cs +++ b/MediaBrowser.Model/LiveTv/BaseTimerInfoDto.cs @@ -10,6 +10,8 @@ namespace MediaBrowser.Model.LiveTv /// public string Id { get; set; } + public string Type { get; set; } + /// /// Gets or sets the server identifier. /// diff --git a/MediaBrowser.Model/LiveTv/SeriesTimerInfoDto.cs b/MediaBrowser.Model/LiveTv/SeriesTimerInfoDto.cs index ce65cc7bfc..43e335e381 100644 --- a/MediaBrowser.Model/LiveTv/SeriesTimerInfoDto.cs +++ b/MediaBrowser.Model/LiveTv/SeriesTimerInfoDto.cs @@ -12,6 +12,13 @@ namespace MediaBrowser.Model.LiveTv [DebuggerDisplay("Name = {Name}")] public class SeriesTimerInfoDto : BaseTimerInfoDto { + public SeriesTimerInfoDto() + { + ImageTags = new Dictionary(); + Days = new List(); + Type = "SeriesTimer"; + } + /// /// Gets or sets a value indicating whether [record any time]. /// @@ -61,12 +68,6 @@ namespace MediaBrowser.Model.LiveTv { get { return ImageTags != null && ImageTags.ContainsKey(ImageType.Primary); } } - - public SeriesTimerInfoDto() - { - ImageTags = new Dictionary(); - Days = new List(); - } } public enum KeepUntil diff --git a/MediaBrowser.Model/LiveTv/TimerInfoDto.cs b/MediaBrowser.Model/LiveTv/TimerInfoDto.cs index a95678fae5..d1aa3118fb 100644 --- a/MediaBrowser.Model/LiveTv/TimerInfoDto.cs +++ b/MediaBrowser.Model/LiveTv/TimerInfoDto.cs @@ -27,8 +27,6 @@ namespace MediaBrowser.Model.LiveTv /// The external series timer identifier. public string ExternalSeriesTimerId { get; set; } - public string Type { get; set; } - /// /// Gets or sets the run time ticks. ///