Skip to content

Commit

Permalink
Only add episodes without intro/credit to episodesWithoutIntros (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
rlauuzo authored and AbandonedCart committed May 9, 2024
1 parent 0d8c8b2 commit 90ec690
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,10 @@ public ChromaprintAnalyzer(ILogger<ChromaprintAnalyzer> logger)
}

// If no intro is found at this point, the popped episode is not reinserted into the queue.
episodesWithoutIntros.Add(currentEpisode);
if (!seasonIntros.ContainsKey(currentEpisode.EpisodeId))
{
episodesWithoutIntros.Add(currentEpisode);
}
}

// If cancellation was requested, report that no episodes were analyzed.
Expand Down

0 comments on commit 90ec690

Please sign in to comment.