mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-22 05:30:46 +02:00
handle empty album artists
This commit is contained in:
parent
f308a41cab
commit
425948359a
|
@ -791,6 +791,11 @@ namespace MediaBrowser.MediaEncoding.Probing
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (audio.AlbumArtists.Count == 0)
|
||||||
|
{
|
||||||
|
audio.AlbumArtists = audio.Artists.Take(1).ToList();
|
||||||
|
}
|
||||||
|
|
||||||
// Track number
|
// Track number
|
||||||
audio.IndexNumber = GetDictionaryDiscValue(tags, "track");
|
audio.IndexNumber = GetDictionaryDiscValue(tags, "track");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue