3.0.5306.42925

This commit is contained in:
Luke Pulverenti
2014-07-13 00:55:56 -04:00
parent 8b630e2d41
commit baf44b2718
21 changed files with 192 additions and 110 deletions

View File

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

View File

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

View File

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