Only add episodes without intro/credit to episodesWithoutIntros (#145)
This commit is contained in:
parent
4669a4fc9b
commit
ce7fa682d8
@ -166,8 +166,11 @@ public class ChromaprintAnalyzer : IMediaFileAnalyzer
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If no intro is found at this point, the popped episode is not reinserted into the queue.
|
// If no intro is found at this point, the popped episode is not reinserted into the queue.
|
||||||
|
if (!seasonIntros.ContainsKey(currentEpisode.EpisodeId))
|
||||||
|
{
|
||||||
episodesWithoutIntros.Add(currentEpisode);
|
episodesWithoutIntros.Add(currentEpisode);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// If cancellation was requested, report that no episodes were analyzed.
|
// If cancellation was requested, report that no episodes were analyzed.
|
||||||
if (cancellationToken.IsCancellationRequested)
|
if (cancellationToken.IsCancellationRequested)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user