The Free Software Media System - Server Backend & API
update some comments
dkanada692a9bfdd054
diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.csindex 9d244b74c8..1ab376001c 100644--- a/Emby.Server.Implementations/Library/LibraryManager.cs+++ b/Emby.Server.Implementations/Library/LibraryManager.cs@@ -1077,7 +1077,7 @@ namespace Emby.Server.Implementations.LibraryinnerProgress.RegisterAction(pct => progress.Report(pct * pct * 0.96));- // validate the entire media library+ // Validate the entire media libraryawait RootFolder.ValidateChildren(innerProgress, cancellationToken, new MetadataRefreshOptions(new DirectoryService(_fileSystem)), recursive: true).ConfigureAwait(false);progress.Report(96);diff --git a/Emby.Server.Implementations/Library/UserManager.cs b/Emby.Server.Implementations/Library/UserManager.csindex a5d7153d7f..9dbd48bfc8 100644--- a/Emby.Server.Implementations/Library/UserManager.cs+++ b/Emby.Server.Implementations/Library/UserManager.cs@@ -291,10 +291,10 @@ namespace Emby.Server.Implementations.Library&& authenticationProvider != null&& !(authenticationProvider is DefaultAuthenticationProvider)){- // trust the username returned by the authentication provider+ // Trust the username returned by the authentication providerusername = updatedUsername;- // search the database for the user again+ // Search the database for the user again// the authentication provider might have created ituser = Users.FirstOrDefault(i => string.Equals(username, i.Name, StringComparison.OrdinalIgnoreCase));diff --git a/MediaBrowser.Api/UserService.cs b/MediaBrowser.Api/UserService.csindex 0d63c19b5e..ac140150ba 100644--- a/MediaBrowser.Api/UserService.cs+++ b/MediaBrowser.Api/UserService.cs@@ -394,7 +394,7 @@ namespace MediaBrowser.Apithrow new MethodNotAllowedException("Hashed-only passwords are not valid for this API.");}- // password should always be null+ // Password should always be nullreturn Post(new AuthenticateUserByName{Username = user.Name,