diff options
| author | Luke <luke.pulverenti@gmail.com> | 2017-04-08 14:32:24 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-08 14:32:24 -0400 |
| commit | e25c538ac70b014f9872d3fde18339a8c0d9bcbf (patch) | |
| tree | 52d855c26d5f9439b990d8d73ae72e5849014643 | |
| parent | b7d0c71bb6627b42fb1868f2ecd88da6f4023d21 (diff) | |
| parent | 78eebc04500e63c5a6b5e79cc52b1825940c40df (diff) | |
Merge pull request #2569 from MediaBrowser/dev
Dev
| -rw-r--r-- | Emby.Common.Implementations/EnvironmentInfo/EnvironmentInfo.cs | 9 | ||||
| -rw-r--r-- | MediaBrowser.Api/UserService.cs | 2 | ||||
| -rw-r--r-- | MediaBrowser.Model/System/IEnvironmentInfo.cs | 1 | ||||
| -rw-r--r-- | MediaBrowser.Server.Mac/Emby.Server.Mac.csproj | 3 | ||||
| -rw-r--r-- | Nuget/MediaBrowser.Common.nuspec | 2 | ||||
| -rw-r--r-- | Nuget/MediaBrowser.Server.Core.nuspec | 2 | ||||
| -rw-r--r-- | SharedVersion.cs | 2 |
7 files changed, 17 insertions, 4 deletions
diff --git a/Emby.Common.Implementations/EnvironmentInfo/EnvironmentInfo.cs b/Emby.Common.Implementations/EnvironmentInfo/EnvironmentInfo.cs index 5da1ae2dc..ad6e35700 100644 --- a/Emby.Common.Implementations/EnvironmentInfo/EnvironmentInfo.cs +++ b/Emby.Common.Implementations/EnvironmentInfo/EnvironmentInfo.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Threading.Tasks; @@ -75,6 +76,14 @@ namespace Emby.Common.Implementations.EnvironmentInfo } } + public char PathSeparator + { + get + { + return Path.PathSeparator; + } + } + public MediaBrowser.Model.System.Architecture SystemArchitecture { get diff --git a/MediaBrowser.Api/UserService.cs b/MediaBrowser.Api/UserService.cs index bbae918a1..fde03e1f2 100644 --- a/MediaBrowser.Api/UserService.cs +++ b/MediaBrowser.Api/UserService.cs @@ -461,7 +461,7 @@ namespace MediaBrowser.Api { var success = await _userManager.AuthenticateUser(user.Name, request.CurrentPassword, Request.RemoteIp).ConfigureAwait(false); - if (success != null) + if (success == null) { throw new ArgumentException("Invalid user or password entered."); } diff --git a/MediaBrowser.Model/System/IEnvironmentInfo.cs b/MediaBrowser.Model/System/IEnvironmentInfo.cs index 2c57df97c..4430bfe07 100644 --- a/MediaBrowser.Model/System/IEnvironmentInfo.cs +++ b/MediaBrowser.Model/System/IEnvironmentInfo.cs @@ -11,6 +11,7 @@ namespace MediaBrowser.Model.System void SetProcessEnvironmentVariable(string name, string value); string GetUserId(); string StackTrace { get; } + char PathSeparator { get; } } public enum OperatingSystem diff --git a/MediaBrowser.Server.Mac/Emby.Server.Mac.csproj b/MediaBrowser.Server.Mac/Emby.Server.Mac.csproj index bb67a9e36..834220f9c 100644 --- a/MediaBrowser.Server.Mac/Emby.Server.Mac.csproj +++ b/MediaBrowser.Server.Mac/Emby.Server.Mac.csproj @@ -734,6 +734,9 @@ <BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-webcomponents\globalize.js">
<Link>Resources\dashboard-ui\bower_components\emby-webcomponents\globalize.js</Link>
</BundleResource>
+ <BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-webcomponents\homesections.js">
+ <Link>Resources\dashboard-ui\bower_components\emby-webcomponents\homesections.js</Link>
+ </BundleResource>
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-webcomponents\idb.js">
<Link>Resources\dashboard-ui\bower_components\emby-webcomponents\idb.js</Link>
</BundleResource>
diff --git a/Nuget/MediaBrowser.Common.nuspec b/Nuget/MediaBrowser.Common.nuspec index 54133b718..20681b317 100644 --- a/Nuget/MediaBrowser.Common.nuspec +++ b/Nuget/MediaBrowser.Common.nuspec @@ -2,7 +2,7 @@ <package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> <metadata> <id>MediaBrowser.Common</id> - <version>3.0.697</version> + <version>3.0.698</version> <title>Emby.Common</title> <authors>Emby Team</authors> <owners>ebr,Luke,scottisafool</owners> diff --git a/Nuget/MediaBrowser.Server.Core.nuspec b/Nuget/MediaBrowser.Server.Core.nuspec index e59460c94..7b5f348c8 100644 --- a/Nuget/MediaBrowser.Server.Core.nuspec +++ b/Nuget/MediaBrowser.Server.Core.nuspec @@ -2,7 +2,7 @@ <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> <metadata> <id>MediaBrowser.Server.Core</id> - <version>3.0.697</version> + <version>3.0.698</version> <title>Emby.Server.Core</title> <authors>Emby Team</authors> <owners>ebr,Luke,scottisafool</owners> diff --git a/SharedVersion.cs b/SharedVersion.cs index ec6a055e8..3daabe507 100644 --- a/SharedVersion.cs +++ b/SharedVersion.cs @@ -1,3 +1,3 @@ using System.Reflection; -[assembly: AssemblyVersion("3.2.11.1")] +[assembly: AssemblyVersion("3.2.12.1")] |
