mirror of
https://github.com/Lidarr/Lidarr
synced 2026-05-08 12:33:04 +02:00
Fixed weird issue after fixing conflict.
This commit is contained in:
parent
f10f8ffc51
commit
7c4c8e4803
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue