MusicBrainzIds added to Track Response

Closes #2686
pull/2763/head
Qstick 3 years ago
parent 5cbf502aa8
commit fc1e094b41

@ -11,6 +11,8 @@ namespace Lidarr.Api.V1.Tracks
public class TrackResource : RestResource
{
public int ArtistId { get; set; }
public string ForeignTrackId { get; set; }
public string ForeignRecordingId { get; set; }
public int TrackFileId { get; set; }
public int AlbumId { get; set; }
public bool Explicit { get; set; }
@ -44,6 +46,8 @@ namespace Lidarr.Api.V1.Tracks
Id = model.Id,
ArtistId = model.Artist.Value.Id,
ForeignTrackId = model.ForeignTrackId,
ForeignRecordingId = model.ForeignRecordingId,
TrackFileId = model.TrackFileId,
AlbumId = model.AlbumId,
Explicit = model.Explicit,

Loading…
Cancel
Save