mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-08-07 09:01:25 -04:00
Removed a hack that was put in when users complained about a tool improperly tagging. This is not the case for most tools. (#949)
This commit is contained in:
parent
e9325824a3
commit
2434e96fe9
@ -30,13 +30,6 @@ namespace API.Tests.Services
|
||||
_archiveService = new ArchiveService(_logger, _directoryService, new ImageService(Substitute.For<ILogger<ImageService>>(), _directoryService));
|
||||
}
|
||||
|
||||
// [Fact]
|
||||
// public void CleanComicInfo_ShouldMapVolumeAndChapterNormally()
|
||||
// {
|
||||
// // TODO: Implement this
|
||||
// Assert.False(true);
|
||||
// }
|
||||
|
||||
[Theory]
|
||||
[InlineData("flat file.zip", false)]
|
||||
[InlineData("file in folder in folder.zip", true)]
|
||||
|
@ -322,15 +322,15 @@ namespace API.Services
|
||||
info.Publisher = Parser.Parser.CleanAuthor(info.Publisher);
|
||||
info.Characters = Parser.Parser.CleanAuthor(info.Characters);
|
||||
|
||||
if (!string.IsNullOrEmpty(info.Web))
|
||||
{
|
||||
// ComicVine stores the Issue number in Number field and does not use Volume.
|
||||
if (!info.Web.Contains("https://comicvine.gamespot.com/")) return;
|
||||
if (info.Volume.Equals("1"))
|
||||
{
|
||||
info.Volume = Parser.Parser.DefaultVolume;
|
||||
}
|
||||
}
|
||||
// if (!string.IsNullOrEmpty(info.Web))
|
||||
// {
|
||||
// // ComicVine stores the Issue number in Number field and does not use Volume.
|
||||
// if (!info.Web.Contains("https://comicvine.gamespot.com/")) return;
|
||||
// if (info.Volume.Equals("1"))
|
||||
// {
|
||||
// info.Volume = Parser.Parser.DefaultVolume;
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
x
Reference in New Issue
Block a user