Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/src/commit/5c8cbd4087261f13d003d7d4eab082cbf335b4d4/tests/Jellyfin.MediaEncoding.Tests/FFprobeParserTests.cs You should set ROOT_URL correctly, otherwise the web may not work correctly.
jellyfin/tests/Jellyfin.MediaEncoding.Tests/FFprobeParserTests.cs

23 lines
589 B

using System.IO;
using System.Text.Json;
using System.Threading.Tasks;
using MediaBrowser.MediaEncoding.Probing;
using Xunit;
namespace Jellyfin.MediaEncoding.Tests
{
public class FFprobeParserTests
{
[Theory]
[InlineData("ffprobe1.json")]
public async Task Test(string fileName)
{
var path = Path.Join("Test Data", fileName);
using (var stream = File.OpenRead(path))
{
await JsonSerializer.DeserializeAsync<InternalMediaInfoResult>(stream).ConfigureAwait(false);
}
}
}
}