Enhance PLib video library manager with new tabbed navigation for entities and metadata management. Introduce sections for videos, tags, actors, studios, collections, and metadata, each with dedicated search and sorting capabilities. Update UI components to reflect these changes, ensuring a cohesive user experience. Revise repository interfaces to support loading video items with labels and summaries for efficient browsing. Update README.md to document new features and usage instructions.
This commit is contained in:
@@ -51,6 +51,9 @@ public interface ILibraryService
|
||||
/// <summary>Every tag and collection in the library, alphabetically.</summary>
|
||||
Task<IReadOnlyList<LibraryLabel>> GetLabelsAsync(CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>Every label with its video count, for the browsing tabs.</summary>
|
||||
Task<IReadOnlyList<LabelSummary>> GetLabelSummariesAsync(CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>
|
||||
/// Attaches a label to a video, creating it if this is the first time the name is used.
|
||||
/// Returns the label, whether it was new or not.
|
||||
@@ -80,4 +83,12 @@ public interface ILibraryService
|
||||
Guid videoId,
|
||||
VideoMetadataMatch match,
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>
|
||||
/// Asks the sources about every fingerprinted video in the library, streaming what it
|
||||
/// finds. Like the single lookup, it only ever runs because the user started it.
|
||||
/// </summary>
|
||||
IAsyncEnumerable<MetadataScanEvent> ScanMetadataAsync(
|
||||
MetadataScanRequest request,
|
||||
CancellationToken cancellationToken = default);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user