aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGinoGinocchio <49346360+GinoGinocchio@users.noreply.github.com>2023-07-10 17:07:22 -0500
committerBrian Howe <howe.m.brian@gmail.com>2023-12-06 22:57:11 -0600
commitde91a213a109b4d77e6b2e1c917ae60728139cd7 (patch)
tree1350d4f6657b84a301d81bab9a9be1700b85d742
parent81d642abe33e9839c946bcccdeebf0ca8f8bd81f (diff)
Update MediaBrowser.Providers/MediaInfo/AudioFileProber.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
-rw-r--r--MediaBrowser.Providers/MediaInfo/AudioFileProber.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Providers/MediaInfo/AudioFileProber.cs b/MediaBrowser.Providers/MediaInfo/AudioFileProber.cs
index dd3cecc52..986852f5a 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;