Only check next chapter is possible
This commit is contained in:
parent
05541b9db0
commit
7e2f1b56d5
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,4 +8,3 @@ docker/dist
|
|||||||
|
|
||||||
# Visual Studio
|
# Visual Studio
|
||||||
.vs/
|
.vs/
|
||||||
UpgradeLog*.htm
|
|
||||||
|
@ -149,6 +149,8 @@ public class ChapterAnalyzer : IMediaFileAnalyzer
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!string.IsNullOrWhiteSpace(next.Name))
|
||||||
|
{
|
||||||
// Check for possibility of overlapping keywords
|
// Check for possibility of overlapping keywords
|
||||||
var overlap = Regex.IsMatch(
|
var overlap = Regex.IsMatch(
|
||||||
next.Name,
|
next.Name,
|
||||||
@ -160,6 +162,7 @@ public class ChapterAnalyzer : IMediaFileAnalyzer
|
|||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
matchingChapter = new(episode.EpisodeId, currentRange);
|
matchingChapter = new(episode.EpisodeId, currentRange);
|
||||||
_logger.LogTrace("{Base}: okay", baseMessage);
|
_logger.LogTrace("{Base}: okay", baseMessage);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user