live tv updates

This commit is contained in:
Luke Pulverenti 2013-12-17 01:08:06 -05:00
parent db945fda9b
commit df1576c039
4 changed files with 16 additions and 3 deletions

View File

@ -81,5 +81,11 @@ namespace MediaBrowser.Controller.LiveTv
/// </summary>
/// <value>The required post padding seconds.</value>
public int RequiredPostPaddingSeconds { get; set; }
/// <summary>
/// Gets or sets the priority.
/// </summary>
/// <value>The priority.</value>
public int Priority { get; set; }
}
}

View File

@ -122,7 +122,6 @@ namespace MediaBrowser.Model.LiveTv
public enum ProgramAudio
{
Unspecified,
Mono,
Stereo,
Dolby,

View File

@ -116,5 +116,11 @@ namespace MediaBrowser.Model.LiveTv
/// </summary>
/// <value>The duration ms.</value>
public int DurationMs { get; set; }
/// <summary>
/// Gets or sets the priority.
/// </summary>
/// <value>The priority.</value>
public int Priority { get; set; }
}
}

View File

@ -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
};
}