mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-04 06:48:35 +01:00
3.0.5306.42925
This commit is contained in:
@@ -31,6 +31,6 @@ namespace MediaBrowser.Controller.Configuration
|
||||
/// Sets the preferred metadata service.
|
||||
/// </summary>
|
||||
/// <param name="service">The service.</param>
|
||||
void SetPreferredMetadataService(string service);
|
||||
void DisableMetadataService(string service);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,6 +14,21 @@ namespace MediaBrowser.Controller.Resolvers
|
||||
/// </summary>
|
||||
public static class EntityResolutionHelper
|
||||
{
|
||||
/// <summary>
|
||||
/// Any folder named in this list will be ignored - can be added to at runtime for extensibility
|
||||
/// </summary>
|
||||
public static readonly List<string> IgnoreFolders = new List<string>
|
||||
{
|
||||
"metadata",
|
||||
"ps3_update",
|
||||
"ps3_vprm",
|
||||
"extrafanart",
|
||||
"extrathumbs",
|
||||
".actors",
|
||||
".wd_tv"
|
||||
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
/// Any extension in this list is considered a video file - can be added to at runtime for extensibility
|
||||
/// </summary>
|
||||
|
||||
@@ -218,6 +218,7 @@ namespace MediaBrowser.Controller.Session
|
||||
/// <param name="deviceId">The device identifier.</param>
|
||||
/// <param name="deviceName">Name of the device.</param>
|
||||
/// <param name="remoteEndPoint">The remote end point.</param>
|
||||
/// <param name="isLocal">if set to <c>true</c> [is local].</param>
|
||||
/// <returns>Task{SessionInfo}.</returns>
|
||||
Task<AuthenticationResult> AuthenticateNewSession(string username,
|
||||
string password,
|
||||
@@ -225,7 +226,8 @@ namespace MediaBrowser.Controller.Session
|
||||
string appVersion,
|
||||
string deviceId,
|
||||
string deviceName,
|
||||
string remoteEndPoint);
|
||||
string remoteEndPoint,
|
||||
bool isLocal);
|
||||
|
||||
/// <summary>
|
||||
/// Reports the capabilities.
|
||||
@@ -282,12 +284,5 @@ namespace MediaBrowser.Controller.Session
|
||||
/// <param name="id">The identifier.</param>
|
||||
/// <returns>Task.</returns>
|
||||
Task RevokeToken(string id);
|
||||
|
||||
/// <summary>
|
||||
/// Determines whether the specified remote endpoint is local.
|
||||
/// </summary>
|
||||
/// <param name="remoteEndpoint">The remote endpoint.</param>
|
||||
/// <returns><c>true</c> if the specified remote endpoint is local; otherwise, <c>false</c>.</returns>
|
||||
bool IsInLocalNetwork(string remoteEndpoint);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user