mirror of https://github.com/ErsatzTV/ErsatzTV.git
Browse Source
* abort building playout if any collection contains a zero-duration item * surface errors calling ffprobe * improve ffmpeg/ffprobe path validationpull/65/head
9 changed files with 141 additions and 21 deletions
@ -1,6 +1,7 @@
@@ -1,6 +1,7 @@
|
||||
using MediatR; |
||||
using ErsatzTV.Core; |
||||
using LanguageExt; |
||||
|
||||
namespace ErsatzTV.Application.FFmpegProfiles.Commands |
||||
{ |
||||
public record UpdateFFmpegSettings(FFmpegSettingsViewModel Settings) : IRequest; |
||||
public record UpdateFFmpegSettings(FFmpegSettingsViewModel Settings) : MediatR.IRequest<Either<BaseError, Unit>>; |
||||
} |
||||
|
@ -1,10 +1,11 @@
@@ -1,10 +1,11 @@
|
||||
using System.Threading.Tasks; |
||||
using ErsatzTV.Core.Domain; |
||||
using LanguageExt; |
||||
|
||||
namespace ErsatzTV.Core.Interfaces.Metadata |
||||
{ |
||||
public interface ILocalStatisticsProvider |
||||
{ |
||||
Task<bool> RefreshStatistics(string ffprobePath, MediaItem mediaItem); |
||||
Task<Either<BaseError, Unit>> RefreshStatistics(string ffprobePath, MediaItem mediaItem); |
||||
} |
||||
} |
||||
|
Loading…
Reference in new issue