Implement metadata management features in PLib video library manager. Introduce functionality to query and apply metadata from external sources based on video fingerprints. Update ILibraryService and LibraryService to support metadata lookup and application, enhancing video item descriptions and labels. Revise UI components in VideoPlayerView and SettingsView to facilitate user interaction with metadata sources. Update README.md to document new metadata features and usage instructions.

This commit is contained in:
Leonid Pershin
2026-08-09 08:18:40 +03:00
parent c41a458d0b
commit eb4894428b
31 changed files with 1442 additions and 194 deletions
@@ -4,6 +4,7 @@ using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging.Abstractions;
using NSubstitute;
using PLib.Application.Library;
using PLib.Application.Metadata;
using PLib.Desktop.Services;
using PLib.Desktop.Settings;
using PLib.Desktop.ViewModels;
@@ -108,7 +109,11 @@ public sealed class SettingsViewModelTests
private SettingsViewModel Create(LibraryOptions options, PlaybackOptions? playback = null)
{
_store.Current.Returns(
AppSettings.From(options, new AppearanceOptions(), playback ?? new PlaybackOptions()));
AppSettings.From(
options,
new AppearanceOptions(),
playback ?? new PlaybackOptions(),
new MetadataOptions()));
return new SettingsViewModel(
Substitute.For<IServiceScopeFactory>(),