using PLib.Domain.Videos;
namespace PLib.Application.Abstractions;
/// Reads duration, resolution and codec out of a media container.
public interface IMediaProbe
{
///
/// Probes . Returns
/// when the file cannot be read or is not a media file — probing must never throw for
/// a single bad file, otherwise one corrupt video would abort a whole library scan.
///
Task ProbeAsync(string fullPath, CancellationToken cancellationToken = default);
}