mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-22 22:43:31 -07:00
parent
5cbf502aa8
commit
fc1e094b41
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue