aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs')
-rw-r--r--MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs b/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs
index 1df8896d5..31f6af181 100644
--- a/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs
+++ b/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs
@@ -441,7 +441,6 @@ namespace MediaBrowser.MediaEncoding.Probing
}
var composer = FFProbeHelpers.GetDictionaryValue(tags, "composer");
-
if (!string.IsNullOrWhiteSpace(composer))
{
foreach (var person in Split(composer, false))
@@ -450,6 +449,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");