|
|
@ -29,7 +29,7 @@ namespace NzbDrone.Api.Movie
|
|
|
|
public DateTime? InCinemas { get; set; }
|
|
|
|
public DateTime? InCinemas { get; set; }
|
|
|
|
public List<MediaCover> Images { get; set; }
|
|
|
|
public List<MediaCover> Images { get; set; }
|
|
|
|
public string Website { get; set; }
|
|
|
|
public string Website { get; set; }
|
|
|
|
|
|
|
|
public bool Downloaded { get; set; }
|
|
|
|
public string RemotePoster { get; set; }
|
|
|
|
public string RemotePoster { get; set; }
|
|
|
|
public int Year { get; set; }
|
|
|
|
public int Year { get; set; }
|
|
|
|
|
|
|
|
|
|
|
@ -79,6 +79,8 @@ namespace NzbDrone.Api.Movie
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (model == null) return null;
|
|
|
|
if (model == null) return null;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
long Size = model.MovieFile.Value != null ? model.MovieFile.Value.Size : 0;
|
|
|
|
|
|
|
|
|
|
|
|
return new MovieResource
|
|
|
|
return new MovieResource
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Id = model.Id,
|
|
|
|
Id = model.Id,
|
|
|
@ -87,6 +89,8 @@ namespace NzbDrone.Api.Movie
|
|
|
|
//AlternateTitles
|
|
|
|
//AlternateTitles
|
|
|
|
SortTitle = model.SortTitle,
|
|
|
|
SortTitle = model.SortTitle,
|
|
|
|
InCinemas = model.InCinemas,
|
|
|
|
InCinemas = model.InCinemas,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Downloaded = model.MovieFile.Value != null,
|
|
|
|
//TotalEpisodeCount
|
|
|
|
//TotalEpisodeCount
|
|
|
|
//EpisodeCount
|
|
|
|
//EpisodeCount
|
|
|
|
//EpisodeFileCount
|
|
|
|
//EpisodeFileCount
|
|
|
@ -104,6 +108,8 @@ namespace NzbDrone.Api.Movie
|
|
|
|
|
|
|
|
|
|
|
|
Monitored = model.Monitored,
|
|
|
|
Monitored = model.Monitored,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SizeOnDisk = Size,
|
|
|
|
|
|
|
|
|
|
|
|
Runtime = model.Runtime,
|
|
|
|
Runtime = model.Runtime,
|
|
|
|
LastInfoSync = model.LastInfoSync,
|
|
|
|
LastInfoSync = model.LastInfoSync,
|
|
|
|
CleanTitle = model.CleanTitle,
|
|
|
|
CleanTitle = model.CleanTitle,
|
|
|
|