mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 01:24:44 +01:00
3.2.30.3
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using MediaBrowser.Model.Services;
|
||||
|
||||
namespace MediaBrowser.Controller.Net
|
||||
@@ -50,7 +49,7 @@ namespace MediaBrowser.Controller.Net
|
||||
get { return 0; }
|
||||
}
|
||||
|
||||
public IEnumerable<string> GetRoles()
|
||||
public string[] GetRoles()
|
||||
{
|
||||
return (Roles ?? string.Empty).Split(new []{ ',' }, StringSplitOptions.RemoveEmptyEntries);
|
||||
}
|
||||
@@ -61,6 +60,6 @@ namespace MediaBrowser.Controller.Net
|
||||
bool EscapeParentalControl { get; }
|
||||
bool AllowBeforeStartupWizard { get; }
|
||||
|
||||
IEnumerable<string> GetRoles();
|
||||
string[] GetRoles();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,13 +13,13 @@ namespace MediaBrowser.Controller.Net
|
||||
/// Gets the URL prefix.
|
||||
/// </summary>
|
||||
/// <value>The URL prefix.</value>
|
||||
IEnumerable<string> UrlPrefixes { get; }
|
||||
string[] UrlPrefixes { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Starts the specified server name.
|
||||
/// </summary>
|
||||
/// <param name="urlPrefixes">The URL prefixes.</param>
|
||||
void StartServer(IEnumerable<string> urlPrefixes);
|
||||
void StartServer(string[] urlPrefixes);
|
||||
|
||||
/// <summary>
|
||||
/// Stops this instance.
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace MediaBrowser.Controller.Net
|
||||
/// Starts this instance.
|
||||
/// </summary>
|
||||
/// <param name="urlPrefixes">The URL prefixes.</param>
|
||||
void Start(IEnumerable<string> urlPrefixes);
|
||||
void Start(string[] urlPrefixes);
|
||||
|
||||
/// <summary>
|
||||
/// Sends a message to all clients currently connected via a web socket
|
||||
|
||||
Reference in New Issue
Block a user