added new channel settings

This commit is contained in:
Luke Pulverenti
2014-06-01 15:41:35 -04:00
parent 20d35a6405
commit 37683565e7
16 changed files with 145 additions and 38 deletions

View File

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

View File

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

View File

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

View File

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

View File

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