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,15 @@
namespace PLib.Application.Abstractions;
/// <summary>Produces (and caches on disk) a poster frame for a video file.</summary>
public interface IThumbnailGenerator
{
/// <summary>
/// Returns the absolute path of the poster frame for <paramref name="videoPath"/>,
/// generating it if it is not cached yet. Returns <c>null</c> when no frame could be
/// extracted; a missing thumbnail is a normal outcome, not an error.
/// </summary>
Task<string?> GetOrCreateAsync(
string videoPath,
TimeSpan? duration,
CancellationToken cancellationToken = default);
}