Update README.md with project details, features, requirements, architecture, and data management for PLib video library manager.

This commit is contained in:
Leonid Pershin
2026-08-08 07:08:43 +03:00
parent e767e4a48c
commit ac05ea6b7f
59 changed files with 3010 additions and 0 deletions
@@ -0,0 +1,18 @@
using PLib.Domain.Videos;
namespace PLib.Application.Library;
/// <summary>Use cases the UI needs in order to show and refresh the video library.</summary>
public interface ILibraryService
{
/// <summary>Everything currently stored in the library, newest first.</summary>
Task<IReadOnlyList<VideoItem>> GetLibraryAsync(CancellationToken cancellationToken = default);
/// <summary>
/// Reconciles the library with the configured folders and then fills in metadata and
/// poster frames for anything that is missing them, streaming progress as it goes.
/// </summary>
IAsyncEnumerable<LibraryScanEvent> ScanAsync(
IReadOnlyList<string> folders,
CancellationToken cancellationToken = default);
}