Add some new music-related person types and parse from ffprobe

This commit is contained in:
MrTimscampi
2021-07-27 23:52:05 +02:00
parent f35a527608
commit c9b1cd1d8c
3 changed files with 63 additions and 11 deletions

View File

@@ -107,7 +107,7 @@ namespace Jellyfin.MediaEncoding.Tests.Probing
Assert.Equal(2020, res.ProductionYear);
Assert.True(res.PremiereDate.HasValue);
Assert.Equal(DateTime.Parse("2020-10-26T00:00Z", DateTimeFormatInfo.CurrentInfo).ToUniversalTime(), res.PremiereDate);
Assert.Equal(18, res.People.Length);
Assert.Equal(22, res.People.Length);
Assert.Equal("Krysta Youngs", res.People[0].Name);
Assert.Equal(PersonType.Composer, res.People[0].Type);
Assert.Equal("Julia Ross", res.People[1].Name);