Remove redundant check
Signed-off-by: gnattu <gnattuoc@me.com>
This commit is contained in:
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…
Reference in New Issue
Block a user