check if valid
This commit is contained in:
parent
fe57d4defa
commit
4d7dbf7f0f
@ -121,7 +121,7 @@ public class BlackFrameAnalyzer : IMediaFileAnalyzer
|
||||
searchDistance,
|
||||
_blackFrameMinimumPercentage);
|
||||
|
||||
if (credit is null)
|
||||
if (credit is null || !credit.Valid)
|
||||
{
|
||||
// If no credits were found, reset the first-episode search logic for the next episode in the sequence.
|
||||
searchStart = _minimumCreditsDuration;
|
||||
|
@ -55,7 +55,7 @@ public class ChapterAnalyzer(ILogger<ChapterAnalyzer> logger) : IMediaFileAnalyz
|
||||
expression,
|
||||
mode);
|
||||
|
||||
if (skipRange is null)
|
||||
if (skipRange is null || !skipRange.Valid)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user