From 546bf7578c0e0c0be9c2bd8866f6738db5a6b806 Mon Sep 17 00:00:00 2001 From: ConfusedPolarBear <33811686+ConfusedPolarBear@users.noreply.github.com> Date: Wed, 2 Nov 2022 17:07:45 -0500 Subject: [PATCH] Rename DetectIntroductionsTask.cs --- ...EpisodesTask.cs => DetectIntroductionsTask.cs} | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) rename ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/{AnalyzeEpisodesTask.cs => DetectIntroductionsTask.cs} (94%) diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/AnalyzeEpisodesTask.cs b/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/DetectIntroductionsTask.cs similarity index 94% rename from ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/AnalyzeEpisodesTask.cs rename to ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/DetectIntroductionsTask.cs index 6d563fc..416cd80 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/AnalyzeEpisodesTask.cs +++ b/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/DetectIntroductionsTask.cs @@ -12,22 +12,21 @@ namespace ConfusedPolarBear.Plugin.IntroSkipper; /// /// Analyze all television episodes for introduction sequences. -/// TODO: FIXME: rename task and file to DetectIntroductionsTask. /// -public class AnalyzeEpisodesTask : IScheduledTask +public class DetectIntroductionsTask : IScheduledTask { - private readonly ILogger _logger; + private readonly ILogger _logger; private readonly ILoggerFactory _loggerFactory; private readonly ILibraryManager? _libraryManager; /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Logger factory. /// Library manager. - public AnalyzeEpisodesTask( + public DetectIntroductionsTask( ILoggerFactory loggerFactory, ILibraryManager libraryManager) : this(loggerFactory) { @@ -35,12 +34,12 @@ public class AnalyzeEpisodesTask : IScheduledTask } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Logger factory. - public AnalyzeEpisodesTask(ILoggerFactory loggerFactory) + public DetectIntroductionsTask(ILoggerFactory loggerFactory) { - _logger = loggerFactory.CreateLogger(); + _logger = loggerFactory.CreateLogger(); _loggerFactory = loggerFactory; EdlManager.Initialize(_logger);