diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/Analyzers/ChapterAnalyzer.cs b/ConfusedPolarBear.Plugin.IntroSkipper/Analyzers/ChapterAnalyzer.cs index 5accbb4..558c0e9 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/Analyzers/ChapterAnalyzer.cs +++ b/ConfusedPolarBear.Plugin.IntroSkipper/Analyzers/ChapterAnalyzer.cs @@ -38,6 +38,11 @@ public class ChapterAnalyzer : IMediaFileAnalyzer Plugin.Instance!.Configuration.ChapterAnalyzerIntroductionPattern : Plugin.Instance!.Configuration.ChapterAnalyzerEndCreditsPattern; + if (string.IsNullOrWhiteSpace(expression)) + { + return analysisQueue; + } + foreach (var episode in analysisQueue) { if (cancellationToken.IsCancellationRequested)