From de91a213a109b4d77e6b2e1c917ae60728139cd7 Mon Sep 17 00:00:00 2001 From: GinoGinocchio <49346360+GinoGinocchio@users.noreply.github.com> Date: Mon, 10 Jul 2023 17:07:22 -0500 Subject: [PATCH] Update MediaBrowser.Providers/MediaInfo/AudioFileProber.cs Co-authored-by: Cody Robibero --- MediaBrowser.Providers/MediaInfo/AudioFileProber.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MediaBrowser.Providers/MediaInfo/AudioFileProber.cs b/MediaBrowser.Providers/MediaInfo/AudioFileProber.cs index dd3cecc52d..986852f5ad 100644 --- a/MediaBrowser.Providers/MediaInfo/AudioFileProber.cs +++ b/MediaBrowser.Providers/MediaInfo/AudioFileProber.cs @@ -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;