Files
ersatztv/ErsatzTV.Core/Interfaces/Metadata/ILocalStatisticsProvider.cs
T
Jason DoveandGitHub 3e3bfbd5f5 use heuristic to work around some qsv av desync cases (#2829)
* check for multiple h264 profiles using qsv decoding

* fix build

* update changelog

* pass cancellation token
2026-02-16 12:37:40 -06:00

23 lines
690 B
C#

using ErsatzTV.Core.Domain;
namespace ErsatzTV.Core.Interfaces.Metadata;
public interface ILocalStatisticsProvider
{
Task<Either<BaseError, MediaVersion>> GetStatistics(string ffprobePath, string path);
Task<Either<BaseError, bool>> RefreshStatistics(string ffmpegPath, string ffprobePath, MediaItem mediaItem);
Either<BaseError, List<SongTag>> GetSongTags(MediaItem mediaItem);
Task<Option<double>> GetInterlacedRatio(
string ffmpegPath,
MediaItem mediaItem,
CancellationToken cancellationToken);
Task<Option<int>> GetProfileCount(
string ffmpegPath,
MediaItem mediaItem,
CancellationToken cancellationToken);
}