diff --git a/MediaBrowser.Controller/LiveTv/TimerInfo.cs b/MediaBrowser.Controller/LiveTv/TimerInfo.cs index 786858e099..d5928959b7 100644 --- a/MediaBrowser.Controller/LiveTv/TimerInfo.cs +++ b/MediaBrowser.Controller/LiveTv/TimerInfo.cs @@ -81,5 +81,11 @@ namespace MediaBrowser.Controller.LiveTv /// /// The required post padding seconds. public int RequiredPostPaddingSeconds { get; set; } + + /// + /// Gets or sets the priority. + /// + /// The priority. + public int Priority { get; set; } } } diff --git a/MediaBrowser.Model/LiveTv/ProgramInfoDto.cs b/MediaBrowser.Model/LiveTv/ProgramInfoDto.cs index 106b785507..4febb29619 100644 --- a/MediaBrowser.Model/LiveTv/ProgramInfoDto.cs +++ b/MediaBrowser.Model/LiveTv/ProgramInfoDto.cs @@ -122,7 +122,6 @@ namespace MediaBrowser.Model.LiveTv public enum ProgramAudio { - Unspecified, Mono, Stereo, Dolby, diff --git a/MediaBrowser.Model/LiveTv/TimerInfoDto.cs b/MediaBrowser.Model/LiveTv/TimerInfoDto.cs index b19099c4cd..f6db58c052 100644 --- a/MediaBrowser.Model/LiveTv/TimerInfoDto.cs +++ b/MediaBrowser.Model/LiveTv/TimerInfoDto.cs @@ -116,5 +116,11 @@ namespace MediaBrowser.Model.LiveTv /// /// The duration ms. public int DurationMs { get; set; } + + /// + /// Gets or sets the priority. + /// + /// The priority. + public int Priority { get; set; } } } diff --git a/MediaBrowser.Server.Implementations/LiveTv/LiveTvDtoService.cs b/MediaBrowser.Server.Implementations/LiveTv/LiveTvDtoService.cs index a30d1cfbb3..ab98336626 100644 --- a/MediaBrowser.Server.Implementations/LiveTv/LiveTvDtoService.cs +++ b/MediaBrowser.Server.Implementations/LiveTv/LiveTvDtoService.cs @@ -48,7 +48,8 @@ namespace MediaBrowser.Server.Implementations.LiveTv ExternalChannelId = info.ChannelId, ExternalSeriesTimerId = info.SeriesTimerId, ServiceName = service.Name, - ExternalProgramId = info.ProgramId + ExternalProgramId = info.ProgramId, + Priority = info.Priority }; var duration = info.EndDate - info.StartDate; @@ -308,7 +309,8 @@ namespace MediaBrowser.Server.Implementations.LiveTv RequestedPrePaddingSeconds = dto.RequestedPrePaddingSeconds, RequiredPostPaddingSeconds = dto.RequiredPostPaddingSeconds, RequiredPrePaddingSeconds = dto.RequiredPrePaddingSeconds, - ProgramId = dto.ExternalProgramId + ProgramId = dto.ExternalProgramId, + Priority = dto.Priority }; }