mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-23 18:44:45 +01:00
added new channel settings
This commit is contained in:
@@ -218,7 +218,7 @@ namespace MediaBrowser.Model.ApiClient
|
||||
/// </summary>
|
||||
/// <param name="itemId">The item identifier.</param>
|
||||
/// <returns>Task{BaseItemDto[]}.</returns>
|
||||
Task<BaseItemDto[]> GetAdditionalParts(string itemId, string userId);
|
||||
Task<ItemsResult> GetAdditionalParts(string itemId, string userId);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the users async.
|
||||
@@ -443,8 +443,9 @@ namespace MediaBrowser.Model.ApiClient
|
||||
/// <summary>
|
||||
/// Gets the system status async.
|
||||
/// </summary>
|
||||
/// <param name="cancellationToken">The cancellation token.</param>
|
||||
/// <returns>Task{SystemInfo}.</returns>
|
||||
Task<SystemInfo> GetSystemInfoAsync();
|
||||
Task<SystemInfo> GetSystemInfoAsync(CancellationToken cancellationToken);
|
||||
|
||||
/// <summary>
|
||||
/// Gets a person
|
||||
|
||||
@@ -226,6 +226,8 @@ namespace MediaBrowser.Model.Configuration
|
||||
[Obsolete]
|
||||
public string[] ManualLoginClients { get; set; }
|
||||
|
||||
public ChannelOptions ChannelOptions { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="ServerConfiguration" /> class.
|
||||
/// </summary>
|
||||
@@ -293,6 +295,13 @@ namespace MediaBrowser.Model.Configuration
|
||||
NotificationOptions = new NotificationOptions();
|
||||
|
||||
SubtitleOptions = new SubtitleOptions();
|
||||
|
||||
ChannelOptions = new ChannelOptions();
|
||||
}
|
||||
}
|
||||
|
||||
public class ChannelOptions
|
||||
{
|
||||
public int? PreferredStreamingWidth { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
|
||||
namespace MediaBrowser.Model.Extensions
|
||||
{
|
||||
/// <summary>
|
||||
/// Isolating these helpers allow this entire project to be easily converted to Java
|
||||
/// </summary>
|
||||
public static class DoubleHelper
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
|
||||
namespace MediaBrowser.Model.Extensions
|
||||
{
|
||||
/// <summary>
|
||||
/// Isolating these helpers allow this entire project to be easily converted to Java
|
||||
/// </summary>
|
||||
public static class IntHelper
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -3,6 +3,9 @@ using System.Globalization;
|
||||
|
||||
namespace MediaBrowser.Model.Extensions
|
||||
{
|
||||
/// <summary>
|
||||
/// Isolating these helpers allow this entire project to be easily converted to Java
|
||||
/// </summary>
|
||||
public static class StringHelper
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user