Adds book reading support with EPUB and PDF reader plugins

This commit is contained in:
BinaryAlley committed 2026-09-02 04:45:11 -07:00
1 parent 275fd83ff2
commit f7ccdf3d1c
271 files changed
+11501 -361

No files matched your search

@@ -8,16 +8,16 @@ using System;
namespace Lumina.Plugins.Calibre.Common.DependencyInjection;
/// <summary>
/// Provides extension methods for registering the Calibre metadata and artwork providers.
/// Utility class for registering the services of the Calibre metadata and artwork providers into the Dependency Injection container.
/// </summary>
internal static class CalibreServices
{
/// <summary>
/// Registers the Calibre book metadata provider, associated with the plugin that provides it.
/// Registers the services of the Calibre metadata provider into the Dependency Injection container.
/// </summary>
/// <param name="services">The service collection to register the services into.</param>
/// <param name="services">The service collection to add the services to.</param>
/// <param name="pluginId">The unique identifier of the plugin that provides the metadata.</param>
/// <returns>The service collection, for chaining.</returns>
/// <returns>The updated <see cref="IServiceCollection"/>.</returns>
internal static IServiceCollection AddCalibreBookMetadataProvider(this IServiceCollection services, Guid pluginId)
{
ArgumentNullException.ThrowIfNull(services);
@@ -29,7 +29,7 @@ internal static class CalibreServices
}
/// <summary>
/// Registers the Calibre artwork provider, associated with the plugin that provides it.
/// Registers the services of the Calibre artwork provider into the Dependency Injection container.
/// </summary>
/// <param name="services">The service collection to register the services into.</param>
/// <param name="pluginId">The unique identifier of the plugin that provides the artwork.</param>
@@ -21,7 +21,7 @@
<ItemGroup>
<ProjectReference Include="..\..\src\Lumina.Plugins.Contracts\Lumina.Plugins.Contracts.csproj">
<Private>false</Private>
<Private>false</Private><!--Do not copy this assembly in the output directory, it's loaded from somewhere else-->
<ExcludeAssets>runtime</ExcludeAssets>
</ProjectReference>
</ItemGroup>