|
|
|
@ -15,6 +15,8 @@ namespace Lidarr.Api.V1.TrackFiles
|
|
|
|
|
public string Path { get; set; }
|
|
|
|
|
public long Size { get; set; }
|
|
|
|
|
public DateTime DateAdded { get; set; }
|
|
|
|
|
public string SceneName { get; set; }
|
|
|
|
|
public string ReleaseGroup { get; set; }
|
|
|
|
|
public QualityModel Quality { get; set; }
|
|
|
|
|
public int QualityWeight { get; set; }
|
|
|
|
|
public MediaInfoResource MediaInfo { get; set; }
|
|
|
|
@ -52,6 +54,8 @@ namespace Lidarr.Api.V1.TrackFiles
|
|
|
|
|
Path = model.Path,
|
|
|
|
|
Size = model.Size,
|
|
|
|
|
DateAdded = model.DateAdded,
|
|
|
|
|
SceneName = model.SceneName,
|
|
|
|
|
ReleaseGroup = model.ReleaseGroup,
|
|
|
|
|
Quality = model.Quality,
|
|
|
|
|
QualityWeight = QualityWeight(model.Quality),
|
|
|
|
|
MediaInfo = model.MediaInfo.ToResource()
|
|
|
|
@ -74,6 +78,8 @@ namespace Lidarr.Api.V1.TrackFiles
|
|
|
|
|
Path = model.Path,
|
|
|
|
|
Size = model.Size,
|
|
|
|
|
DateAdded = model.DateAdded,
|
|
|
|
|
SceneName = model.SceneName,
|
|
|
|
|
ReleaseGroup = model.ReleaseGroup,
|
|
|
|
|
Quality = model.Quality,
|
|
|
|
|
QualityWeight = QualityWeight(model.Quality),
|
|
|
|
|
MediaInfo = model.MediaInfo.ToResource(),
|
|
|
|
|