diff options
| author | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-04-04 14:40:04 -0400 |
|---|---|---|
| committer | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-04-04 14:40:04 -0400 |
| commit | cb2d99e8318d6831b8c7ba80997c172e72a6ee95 (patch) | |
| tree | 1b98db785995b5a245b692b6b68263667b40552e /Emby.Server.Implementations/LiveTv/LiveTvDtoService.cs | |
| parent | f78423bd494d2439191e57705ec4031cb211e4d4 (diff) | |
Construct LiveTvDtoService and LiveTvManager correctly
Diffstat (limited to 'Emby.Server.Implementations/LiveTv/LiveTvDtoService.cs')
| -rw-r--r-- | Emby.Server.Implementations/LiveTv/LiveTvDtoService.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Emby.Server.Implementations/LiveTv/LiveTvDtoService.cs b/Emby.Server.Implementations/LiveTv/LiveTvDtoService.cs index 6e903a18ef..55300c9671 100644 --- a/Emby.Server.Implementations/LiveTv/LiveTvDtoService.cs +++ b/Emby.Server.Implementations/LiveTv/LiveTvDtoService.cs @@ -24,7 +24,6 @@ namespace Emby.Server.Implementations.LiveTv { private readonly ILogger _logger; private readonly IImageProcessor _imageProcessor; - private readonly IDtoService _dtoService; private readonly IApplicationHost _appHost; private readonly ILibraryManager _libraryManager; @@ -32,13 +31,13 @@ namespace Emby.Server.Implementations.LiveTv public LiveTvDtoService( IDtoService dtoService, IImageProcessor imageProcessor, - ILoggerFactory loggerFactory, + ILogger<LiveTvDtoService> logger, IApplicationHost appHost, ILibraryManager libraryManager) { _dtoService = dtoService; _imageProcessor = imageProcessor; - _logger = loggerFactory.CreateLogger(nameof(LiveTvDtoService)); + _logger = logger; _appHost = appHost; _libraryManager = libraryManager; } |
