Merge branch 'feature/add-metadata-aggregation' into feature/add-artwork-provider-and-metadata-aggregation

This commit is contained in:
BinaryAlley committed 2026-08-24 22:53:57 -07:00
commit b47588cf83
168 files changed
+3503 -1062

No files matched your search

@@ -63,7 +63,7 @@ public class LibraryEntity : IStorageEntity, IAuditableEntity
/// <summary>
/// Gets whether this media library should update the metadata of its elements from the web, or not.
/// </summary>
public bool DownloadMetadataFromWeb { get; init; }
public bool CanDownloadMetadataFromWeb { get; init; }
/// <summary>
/// Gets whether this media library should copy the downloaded metadata into the media library content locations, or not.
@@ -35,13 +35,18 @@ public class UserSettingsEntity : IStorageEntity, IAuditableEntity
/// <summary>
/// Gets or sets whether the "The" prefix of library item titles is ignored by the alpha picker, or not.
/// </summary>
public bool IgnoreThePrefixForAlphaPicker { get; set; }
public bool ShouldIgnoreThePrefixForAlphaPicker { get; set; }
/// <summary>
/// Gets or sets whether the theme data served to this user is cached, or not.
/// </summary>
public bool IsThemeCachingEnabled { get; set; } = true;
/// <summary>
/// Gets or sets whether the metadata of the media library items is aggregated from multiple providers, when fields are missing, or not.
/// </summary>
public bool ShouldAggregateMetadataWhenMissing { get; set; }
/// <summary>
/// Gets or sets the time and date when the entity was added.
/// </summary>
@@ -71,6 +71,11 @@ public interface IUnitOfWork
/// </summary>
ILibraryMetadataProviderConfigurationRepository LibraryMetadataProviderConfigurationRepository { get; }
/// <summary>
/// Gets the library artwork provider configuration repository.
/// </summary>
IArtworkProviderConfigurationRepository ArtworkProviderConfigurationRepository { get; }
/// <summary>
/// Gets the plugin repository.
/// </summary>
@@ -97,6 +102,11 @@ public interface IUnitOfWork
/// <param name="cancellationToken">Cancellation token that can be used to stop the execution.</param>
Task SaveChangesAsync(CancellationToken cancellationToken);
/// <summary>
/// Detaches all the entities tracked by the unit of work, freeing the memory they occupy.
/// </summary>
void ClearTrackedEntities();
/// <summary>
/// Begins a new database transaction.
/// </summary>