mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge branch 'dev' of https://github.com/MediaBrowser/Emby into dev
This commit is contained in:
commit
de871b5d50
@ -496,6 +496,26 @@ namespace MediaBrowser.MediaEncoding.Probing
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var lyricist = FFProbeHelpers.GetDictionaryValue(tags, "lyricist");
|
||||||
|
|
||||||
|
if (!string.IsNullOrWhiteSpace(lyricist))
|
||||||
|
{
|
||||||
|
foreach (var person in Split(lyricist, false))
|
||||||
|
{
|
||||||
|
audio.People.Add(new BaseItemPerson { Name = person, Type = PersonType.Lyricist });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Check for writer some music is tagged that way as alternative to composer/lyricist
|
||||||
|
var writer = FFProbeHelpers.GetDictionaryValue(tags, "writer");
|
||||||
|
|
||||||
|
if (!string.IsNullOrWhiteSpace(writer))
|
||||||
|
{
|
||||||
|
foreach (var person in Split(writer, false))
|
||||||
|
{
|
||||||
|
audio.People.Add(new BaseItemPerson { Name = person, Type = PersonType.Writer });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
audio.Album = FFProbeHelpers.GetDictionaryValue(tags, "album");
|
audio.Album = FFProbeHelpers.GetDictionaryValue(tags, "album");
|
||||||
|
|
||||||
var artists = FFProbeHelpers.GetDictionaryValue(tags, "artists");
|
var artists = FFProbeHelpers.GetDictionaryValue(tags, "artists");
|
||||||
|
@ -34,5 +34,9 @@ namespace MediaBrowser.Model.Entities
|
|||||||
/// The conductor
|
/// The conductor
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public const string Conductor = "Conductor";
|
public const string Conductor = "Conductor";
|
||||||
|
/// <summary>
|
||||||
|
/// The lyricist
|
||||||
|
/// </summary>
|
||||||
|
public const string Lyricist = "Lyricist";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user