mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-09-01 03:30:06 +00:00
handle empty album artists
This commit is contained in:
parent
f308a41cab
commit
425948359a
1 changed files with 5 additions and 0 deletions
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue