Remove redundant check

Signed-off-by: gnattu <gnattuoc@me.com>
pull/11879/head
gnattu 7 months ago
parent 939e02ccee
commit 1d658a5a4d

@ -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);
}

Loading…
Cancel
Save