mirror of https://github.com/jellyfin/jellyfin.git
live tv updates
This commit is contained in:
parent
db945fda9b
commit
df1576c039
|
@ -81,5 +81,11 @@ namespace MediaBrowser.Controller.LiveTv
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The required post padding seconds.</value>
|
/// <value>The required post padding seconds.</value>
|
||||||
public int RequiredPostPaddingSeconds { get; set; }
|
public int RequiredPostPaddingSeconds { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the priority.
|
||||||
|
/// </summary>
|
||||||
|
/// <value>The priority.</value>
|
||||||
|
public int Priority { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -122,7 +122,6 @@ namespace MediaBrowser.Model.LiveTv
|
||||||
|
|
||||||
public enum ProgramAudio
|
public enum ProgramAudio
|
||||||
{
|
{
|
||||||
Unspecified,
|
|
||||||
Mono,
|
Mono,
|
||||||
Stereo,
|
Stereo,
|
||||||
Dolby,
|
Dolby,
|
||||||
|
|
|
@ -116,5 +116,11 @@ namespace MediaBrowser.Model.LiveTv
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The duration ms.</value>
|
/// <value>The duration ms.</value>
|
||||||
public int DurationMs { get; set; }
|
public int DurationMs { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the priority.
|
||||||
|
/// </summary>
|
||||||
|
/// <value>The priority.</value>
|
||||||
|
public int Priority { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,7 +48,8 @@ namespace MediaBrowser.Server.Implementations.LiveTv
|
||||||
ExternalChannelId = info.ChannelId,
|
ExternalChannelId = info.ChannelId,
|
||||||
ExternalSeriesTimerId = info.SeriesTimerId,
|
ExternalSeriesTimerId = info.SeriesTimerId,
|
||||||
ServiceName = service.Name,
|
ServiceName = service.Name,
|
||||||
ExternalProgramId = info.ProgramId
|
ExternalProgramId = info.ProgramId,
|
||||||
|
Priority = info.Priority
|
||||||
};
|
};
|
||||||
|
|
||||||
var duration = info.EndDate - info.StartDate;
|
var duration = info.EndDate - info.StartDate;
|
||||||
|
@ -308,7 +309,8 @@ namespace MediaBrowser.Server.Implementations.LiveTv
|
||||||
RequestedPrePaddingSeconds = dto.RequestedPrePaddingSeconds,
|
RequestedPrePaddingSeconds = dto.RequestedPrePaddingSeconds,
|
||||||
RequiredPostPaddingSeconds = dto.RequiredPostPaddingSeconds,
|
RequiredPostPaddingSeconds = dto.RequiredPostPaddingSeconds,
|
||||||
RequiredPrePaddingSeconds = dto.RequiredPrePaddingSeconds,
|
RequiredPrePaddingSeconds = dto.RequiredPrePaddingSeconds,
|
||||||
ProgramId = dto.ExternalProgramId
|
ProgramId = dto.ExternalProgramId,
|
||||||
|
Priority = dto.Priority
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue