diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2020-01-23 01:59:52 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-23 01:59:52 +0900 |
| commit | 1dd4abebbd08045371867d7de06fc7fe6330e220 (patch) | |
| tree | e941d3526449f7b9bf9d230ed98968c792dfd3c7 /Emby.Dlna/ContentDirectory/ControlHandler.cs | |
| parent | d4de78693fcaf97aa5a94124b35e4d6145bdfa55 (diff) | |
| parent | 5340eb9363f006e61b4574a30091bfdd43a0772b (diff) | |
Merge pull request #2297 from Bond-009/asyncio
Kestrel doesn't like sync IO operations
Diffstat (limited to 'Emby.Dlna/ContentDirectory/ControlHandler.cs')
| -rw-r--r-- | Emby.Dlna/ContentDirectory/ControlHandler.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Dlna/ContentDirectory/ControlHandler.cs b/Emby.Dlna/ContentDirectory/ControlHandler.cs index 2068e1d2a..396649c5e 100644 --- a/Emby.Dlna/ContentDirectory/ControlHandler.cs +++ b/Emby.Dlna/ContentDirectory/ControlHandler.cs @@ -76,7 +76,7 @@ namespace Emby.Dlna.ContentDirectory _profile = profile; _config = config; - _didlBuilder = new DidlBuilder(profile, user, imageProcessor, serverAddress, accessToken, userDataManager, localization, mediaSourceManager, _logger, mediaEncoder); + _didlBuilder = new DidlBuilder(profile, user, imageProcessor, serverAddress, accessToken, userDataManager, localization, mediaSourceManager, Logger, mediaEncoder); } protected override IEnumerable<KeyValuePair<string, string>> GetResult(string methodName, IDictionary<string, string> methodParams) @@ -1336,7 +1336,7 @@ namespace Emby.Dlna.ContentDirectory }; } - _logger.LogError("Error parsing item Id: {id}. Returning user root folder.", id); + Logger.LogError("Error parsing item Id: {id}. Returning user root folder.", id); return new ServerItem(_libraryManager.GetUserRootFolder()); } |
