Remove redundant check

Signed-off-by: gnattu <gnattuoc@me.com>
This commit is contained in:
gnattu 2024-07-17 03:31:03 +08:00
parent 939e02ccee
commit 1d658a5a4d

View File

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