Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.
C# annotationscbzcomicinfocomicscomics-readercross-platformcsharpepubepub-readerfreelinuxmangamedia-servermetadataopdsopds-feedpdfself-hostedubooquitywindows
Removed a hack that was put in when users complained about a tool improperly tagging. This is not the case for most tools. (#949)
Joseph Milazzo2434e96fe95a
diff --git a/API.Tests/Services/ArchiveServiceTests.cs b/API.Tests/Services/ArchiveServiceTests.csindex 000a2f917..110e5d269 100644--- a/API.Tests/Services/ArchiveServiceTests.cs+++ b/API.Tests/Services/ArchiveServiceTests.cs@@ -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)]diff --git a/API/Services/ArchiveService.cs b/API/Services/ArchiveService.csindex 6209c3563..76f7d7283 100644--- a/API/Services/ArchiveService.cs+++ b/API/Services/ArchiveService.cs@@ -322,15 +322,15 @@ namespace API.Servicesinfo.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>