Prevent server from starting if the ffmpeg path is invalid (#12463)

This commit is contained in:
gnattu
2024-08-29 02:43:37 +08:00
committed by GitHub
parent 8c3f3c503b
commit 6c8ca30f7f
6 changed files with 43 additions and 73 deletions

View File

@@ -47,6 +47,8 @@ namespace Jellyfin.Server.Integration.Tests
/// <inheritdoc/>
protected override void ConfigureWebHost(IWebHostBuilder builder)
{
// Skip ffmpeg check for testing
Environment.SetEnvironmentVariable("JELLYFIN_FFMPEG__NOVALIDATION", "true");
// Specify the startup command line options
var commandLineOpts = new StartupOptions();