* check for multiple h264 profiles using qsv decoding * fix build * update changelog * pass cancellation token
23 lines
690 B
C#
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);
|
|
}
|