mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
capture conductor
This commit is contained in:
parent
b501d66fa8
commit
9f6fcc9e05
@ -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");
|
||||
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user