Stream custom live channels using your own media
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

22 lines
690 B

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);
}