The Free Software Media System - Server Backend & API
capture conductor
Luke Pulverentib7780ec7c6f7
diff --git a/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs b/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.csindex 6bd754865d..d91df253e5 100644--- a/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs+++ b/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs@@ -440,7 +440,6 @@ namespace MediaBrowser.MediaEncoding.Probing}var composer = FFProbeHelpers.GetDictionaryValue(tags, "composer");-if (!string.IsNullOrWhiteSpace(composer)){foreach (var person in Split(composer, false))@@ -449,6 +448,15 @@ namespace MediaBrowser.MediaEncoding.Probing}}+ var conductor = FFProbeHelpers.GetDictionaryValue(tags, "conductor");+ if (!string.IsNullOrWhiteSpace(conductor))+ {+ foreach (var person in Split(conductor, false))+ {+ audio.People.Add(new BaseItemPerson { Name = person, Type = PersonType.Conductor });+ }+ }+audio.Album = FFProbeHelpers.GetDictionaryValue(tags, "album");var artists = FFProbeHelpers.GetDictionaryValue(tags, "artists");diff --git a/MediaBrowser.Model/Entities/PersonType.cs b/MediaBrowser.Model/Entities/PersonType.csindex ee80b1496d..bdf8460952 100644--- a/MediaBrowser.Model/Entities/PersonType.cs+++ b/MediaBrowser.Model/Entities/PersonType.cs@@ -30,5 +30,9 @@ namespace MediaBrowser.Model.Entities/// The producer/// </summary>public const string Producer = "Producer";+ /// <summary>+ /// The conductor+ /// </summary>+ public const string Conductor = "Conductor";}}