@ -10,7 +10,7 @@ namespace Lidarr.Api.V1.Albums
public int TotalTrackCount { get; set; }
public long SizeOnDisk { get; set; }
public decimal PercentOfEpisodes
public decimal PercentOfTracks
{
get
@ -50,8 +50,8 @@ namespace Lidarr.Api.V1.Tracks
protected TrackResource GetTrack(int id)
var episode = _trackService.GetTrack(id);
var track = _trackService.GetTrack(id);
var resource = MapToResource(episode, true, true);
var resource = MapToResource(track, true, true);
return resource;
}