|
|
@ -223,30 +223,39 @@ namespace MediaBrowser.Providers.MediaInfo
|
|
|
|
var albumArtists = tags.AlbumArtists;
|
|
|
|
var albumArtists = tags.AlbumArtists;
|
|
|
|
foreach (var albumArtist in albumArtists)
|
|
|
|
foreach (var albumArtist in albumArtists)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
PeopleHelper.AddPerson(people, new PersonInfo
|
|
|
|
if (!string.IsNullOrEmpty(albumArtist))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Name = albumArtist,
|
|
|
|
PeopleHelper.AddPerson(people, new PersonInfo
|
|
|
|
Type = PersonKind.AlbumArtist
|
|
|
|
{
|
|
|
|
});
|
|
|
|
Name = albumArtist,
|
|
|
|
|
|
|
|
Type = PersonKind.AlbumArtist
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var performers = tags.Performers;
|
|
|
|
var performers = tags.Performers;
|
|
|
|
foreach (var performer in performers)
|
|
|
|
foreach (var performer in performers)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
PeopleHelper.AddPerson(people, new PersonInfo
|
|
|
|
if (!string.IsNullOrEmpty(performer))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Name = performer,
|
|
|
|
PeopleHelper.AddPerson(people, new PersonInfo
|
|
|
|
Type = PersonKind.Artist
|
|
|
|
{
|
|
|
|
});
|
|
|
|
Name = performer,
|
|
|
|
|
|
|
|
Type = PersonKind.Artist
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
foreach (var composer in tags.Composers)
|
|
|
|
foreach (var composer in tags.Composers)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
PeopleHelper.AddPerson(people, new PersonInfo
|
|
|
|
if (!string.IsNullOrEmpty(composer))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Name = composer,
|
|
|
|
PeopleHelper.AddPerson(people, new PersonInfo
|
|
|
|
Type = PersonKind.Composer
|
|
|
|
{
|
|
|
|
});
|
|
|
|
Name = composer,
|
|
|
|
|
|
|
|
Type = PersonKind.Composer
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
_libraryManager.UpdatePeople(audio, people);
|
|
|
|
_libraryManager.UpdatePeople(audio, people);
|
|
|
|