From 4ef9ea89ad2d4205953b0e8161b4a7ab57ccc4d9 Mon Sep 17 00:00:00 2001 From: rlauuzo <46294892+rlauuzo@users.noreply.github.com> Date: Mon, 19 Aug 2024 20:14:02 +0200 Subject: [PATCH] Apply "MaximumIntroDuration" exclusively to intros --- .../Analyzers/ChromaprintAnalyzer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/Analyzers/ChromaprintAnalyzer.cs b/ConfusedPolarBear.Plugin.IntroSkipper/Analyzers/ChromaprintAnalyzer.cs index 5996794..2a27d6b 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/Analyzers/ChromaprintAnalyzer.cs +++ b/ConfusedPolarBear.Plugin.IntroSkipper/Analyzers/ChromaprintAnalyzer.cs @@ -142,7 +142,7 @@ public class ChromaprintAnalyzer : IMediaFileAnalyzer // - the introduction exceeds the configured limit if ( !remainingIntro.Valid || - remainingIntro.Duration > Plugin.Instance!.Configuration.MaximumIntroDuration) + (this._analysisMode == AnalysisMode.Introduction && remainingIntro.Duration > Plugin.Instance!.Configuration.MaximumIntroDuration)) { continue; }