Update MediaBrowser.Providers/MediaInfo/AudioFileProber.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
GinoGinocchio 2023-07-10 17:07:22 -05:00 committed by Brian Howe
parent 81d642abe3
commit de91a213a1

View file

@ -259,8 +259,8 @@ namespace MediaBrowser.Providers.MediaInfo
}
_libraryManager.UpdatePeople(audio, people);
audio.Artists = audio.Artists != null ? audio.Artists : performers;
audio.AlbumArtists = audio.AlbumArtists != null ? audio.AlbumArtists : albumArtists;
audio.Artists ??= performers;
audio.AlbumArtists ??= albumArtists;
}
audio.Name = string.IsNullOrEmpty(audio.Name) ? tags.Title : audio.Name;