Use typed logger
This commit is contained in:
parent
060fb5f13c
commit
fb3e97d7ac
|
@ -25,7 +25,7 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
|
|||
/// </summary>
|
||||
public class ChapterImagesTask : IScheduledTask
|
||||
{
|
||||
private readonly ILogger _logger;
|
||||
private readonly ILogger<ChapterImagesTask> _logger;
|
||||
private readonly ILibraryManager _libraryManager;
|
||||
private readonly IItemRepository _itemRepo;
|
||||
private readonly IApplicationPaths _appPaths;
|
||||
|
|
|
@ -34,7 +34,7 @@ namespace MediaBrowser.Providers.MediaInfo
|
|||
{
|
||||
public class FFProbeVideoInfo
|
||||
{
|
||||
private readonly ILogger _logger;
|
||||
private readonly ILogger<FFProbeVideoInfo> _logger;
|
||||
private readonly IMediaEncoder _mediaEncoder;
|
||||
private readonly IItemRepository _itemRepo;
|
||||
private readonly IBlurayExaminer _blurayExaminer;
|
||||
|
@ -51,7 +51,7 @@ namespace MediaBrowser.Providers.MediaInfo
|
|||
private readonly long _dummyChapterDuration = TimeSpan.FromMinutes(5).Ticks;
|
||||
|
||||
public FFProbeVideoInfo(
|
||||
ILogger logger,
|
||||
ILogger<FFProbeVideoInfo> logger,
|
||||
IMediaSourceManager mediaSourceManager,
|
||||
IMediaEncoder mediaEncoder,
|
||||
IItemRepository itemRepo,
|
||||
|
|
|
@ -83,7 +83,7 @@ namespace MediaBrowser.Providers.MediaInfo
|
|||
_audioResolver = new AudioResolver(loggerFactory.CreateLogger<AudioResolver>(), localization, mediaEncoder, fileSystem, namingOptions);
|
||||
_subtitleResolver = new SubtitleResolver(loggerFactory.CreateLogger<SubtitleResolver>(), localization, mediaEncoder, fileSystem, namingOptions);
|
||||
_videoProber = new FFProbeVideoInfo(
|
||||
_logger,
|
||||
loggerFactory.CreateLogger<FFProbeVideoInfo>(),
|
||||
mediaSourceManager,
|
||||
mediaEncoder,
|
||||
itemRepo,
|
||||
|
|
Loading…
Reference in New Issue
Block a user