handle empty album artists

This commit is contained in:
Luke Pulverenti 2016-03-30 14:30:04 -04:00
parent f308a41cab
commit 425948359a
1 changed files with 5 additions and 0 deletions

View File

@ -791,6 +791,11 @@ namespace MediaBrowser.MediaEncoding.Probing
}
if (audio.AlbumArtists.Count == 0)
{
audio.AlbumArtists = audio.Artists.Take(1).ToList();
}
// Track number
audio.IndexNumber = GetDictionaryDiscValue(tags, "track");