Fixed: Musicbrainz track id tag read incorrectly

pull/250/head
Qstick 7 years ago
parent a27b6eb63e
commit 254b3fcfbe

@ -17,6 +17,7 @@ namespace NzbDrone.Core.Parser.Model
public ArtistTitleInfo ArtistTitleInfo { get; set; } public ArtistTitleInfo ArtistTitleInfo { get; set; }
public string ArtistMBId { get; set; } public string ArtistMBId { get; set; }
public string AlbumMBId { get; set; } public string AlbumMBId { get; set; }
public string ReleaseMBId { get; set; }
public string TrackMBId { get; set; } public string TrackMBId { get; set; }
public int DiscNumber { get; set; } public int DiscNumber { get; set; }
public QualityModel Quality { get; set; } public QualityModel Quality { get; set; }

@ -634,9 +634,9 @@ namespace NzbDrone.Core.Parser
AlbumTitle = file.Tag.Album, AlbumTitle = file.Tag.Album,
ArtistTitle = artist, ArtistTitle = artist,
ArtistMBId = file.Tag.MusicBrainzArtistId, ArtistMBId = file.Tag.MusicBrainzArtistId,
AlbumMBId = file.Tag.MusicBrainzReleaseId, ReleaseMBId = file.Tag.MusicBrainzReleaseId,
DiscNumber = discNumber, DiscNumber = discNumber,
TrackMBId = file.Tag.MusicBrainzReleaseType, TrackMBId = file.Tag.MusicBrainzTrackId,
TrackNumbers = temp, TrackNumbers = temp,
ArtistTitleInfo = artistTitleInfo, ArtistTitleInfo = artistTitleInfo,
Title = trackTitle Title = trackTitle

Loading…
Cancel
Save