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:
@@ -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>(),
|
||||
|
||||
Reference in New Issue
Block a user