Fixed weird issue after fixing conflict.

This commit is contained in:
SupItsMike 2025-09-11 20:26:52 -04:00
parent f10f8ffc51
commit 7c4c8e4803

View file

@ -143,7 +143,7 @@ public AudioTag GetTrackMetadata(TrackFile trackfile)
Album = album.Title,
Disc = (uint)track.MediumNumber,
DiscCount = (uint)release.Media.Count,
// We may have omitted media so index in the list isn't the same as medium number
Media = release.Media.SingleOrDefault(x => x.Number == track.MediumNumber)?.Format,
Date = release.ReleaseDate ?? album.ReleaseDate,
@ -164,7 +164,7 @@ public AudioTag GetTrackMetadata(TrackFile trackfile)
MusicBrainzTrackId = track.ForeignRecordingId,
MusicBrainzReleaseTrackId = track.ForeignTrackId,
MusicBrainzAlbumComment = album.Disambiguation,
};
};
}
catch (Exception ex)
{