2
0

Compare commits

..

No commits in common. "dd0733fa54e5cb50839030eec14e2779c6b47670" and "290761bfb05da84c88c19a21416e0e950ce2d6ef" have entirely different histories.

View File

@ -95,10 +95,9 @@ public readonly struct Chapter : IComparable
FileInfo? archive = archives.FirstOrDefault(archive =>
{
Match m = volChRex.Match(archive.Name);
/*Uncommenting this section will only allow *Version without Volume number* -> *Version with Volume number* but not the other way
if (m.Groups[1].Success)
return m.Groups[1].Value == t.volumeNumber && m.Groups[2].Value == t.chapterNumber;
else*/
else
return m.Groups[2].Value == t.chapterNumber;
});
if(archive is not null && archive.FullName != correctPath)