From dfded9796ce7738c1ede902680c29b88c1cc0205 Mon Sep 17 00:00:00 2001 From: Joseph Milazzo Date: Mon, 23 Jun 2025 18:45:06 -0500 Subject: [PATCH] PR comments --- API/DTOs/LibraryDto.cs | 4 ++++ API/Services/Plus/ExternalMetadataService.cs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/API/DTOs/LibraryDto.cs b/API/DTOs/LibraryDto.cs index ca6a5ef13..7b38379c9 100644 --- a/API/DTOs/LibraryDto.cs +++ b/API/DTOs/LibraryDto.cs @@ -65,5 +65,9 @@ public sealed record LibraryDto /// /// This does not exclude the library from being linked to wrt Series Relationships /// Requires a valid LicenseKey + public bool AllowMetadataMatching { get; set; } = true; + /// + /// Allow Kavita to read metadata (ComicInfo.xml, Epub, PDF) + /// public bool EnableMetadata { get; set; } = true; } diff --git a/API/Services/Plus/ExternalMetadataService.cs b/API/Services/Plus/ExternalMetadataService.cs index e280a78a0..1db334b91 100644 --- a/API/Services/Plus/ExternalMetadataService.cs +++ b/API/Services/Plus/ExternalMetadataService.cs @@ -444,7 +444,7 @@ public class ExternalMetadataService : IExternalMetadataService try { // This returns an AniListSeries and Match returns ExternalSeriesDto - result = await _kavitaPlusApiService .GetSeriesDetail(data); + result = await _kavitaPlusApiService.GetSeriesDetail(data); } catch (FlurlHttpException ex) {