Use chromaprint analyzer when detecting credits

This commit is contained in:
ConfusedPolarBear 2022-11-29 02:29:27 -06:00
parent cb234bedd3
commit 94bd2a059e
2 changed files with 2 additions and 2 deletions

View File

@ -205,7 +205,7 @@ public class QueueManager
_queuedEpisodes.TryAdd(episode.SeasonId, new List<QueuedEpisode>());
// Queue the episode for analysis
var maxCreditsDuration = Plugin.Instance!.Configuration.MaximumEpisodeCreditsDuration * 60;
var maxCreditsDuration = Plugin.Instance!.Configuration.MaximumEpisodeCreditsDuration;
_queuedEpisodes[episode.SeasonId].Add(new QueuedEpisode()
{
SeriesName = episode.SeriesName,

View File

@ -165,7 +165,7 @@ public class DetectCreditsTask : IScheduledTask
// Analyze with Chromaprint first and fall back to the black frame detector
var analyzers = new IMediaFileAnalyzer[]
{
// TODO: FIXME: new ChromaprintAnalyzer(_loggerFactory.CreateLogger<ChromaprintAnalyzer>()),
new ChromaprintAnalyzer(_loggerFactory.CreateLogger<ChromaprintAnalyzer>()),
new BlackFrameAnalyzer(_loggerFactory.CreateLogger<BlackFrameAnalyzer>())
};