mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-02-03 19:22:59 +00:00
handle empty album artists
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user