From 1d658a5a4de0332987c468dc9eb13fe90a08b469 Mon Sep 17 00:00:00 2001 From: gnattu Date: Wed, 17 Jul 2024 03:31:03 +0800 Subject: [PATCH] Remove redundant check Signed-off-by: gnattu --- MediaBrowser.Providers/MediaInfo/AudioFileProber.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/MediaBrowser.Providers/MediaInfo/AudioFileProber.cs b/MediaBrowser.Providers/MediaInfo/AudioFileProber.cs index 250717205c..40ff5551d4 100644 --- a/MediaBrowser.Providers/MediaInfo/AudioFileProber.cs +++ b/MediaBrowser.Providers/MediaInfo/AudioFileProber.cs @@ -359,10 +359,6 @@ namespace MediaBrowser.Providers.MediaInfo if ((track.AdditionalFields.TryGetValue("MUSICBRAINZ_RELEASETRACKID", out var trackMbId) || track.AdditionalFields.TryGetValue("MusicBrainz Release Track Id", out trackMbId)) && !string.IsNullOrEmpty(trackMbId)) - { - audio.SetProviderId(MetadataProvider.MusicBrainzTrack, trackMbId); - } - if (trackMbId is not null) { audio.TrySetProviderId(MetadataProvider.MusicBrainzTrack, trackMbId); }