Fixes Movie Size not showing correctly.

Fixes #1379
Leonardo Galli 8 years ago
parent 32a2407ad1
commit ef57882291

@ -213,7 +213,7 @@ namespace NzbDrone.Api.Movie
private void LinkMovieStatistics(MovieResource resource, MovieStatistics moviesStatistics)
{
resource.SizeOnDisk = moviesStatistics.SizeOnDisk;
//resource.SizeOnDisk = 0;//TODO: incorporate movie statistics moviesStatistics.SizeOnDisk;
}
private void PopulateAlternateTitles(List<MovieResource> resources)

@ -120,7 +120,7 @@ namespace NzbDrone.Api.Movie
//TotalEpisodeCount
//EpisodeCount
//EpisodeFileCount
//SizeOnDisk
SizeOnDisk = size,
Status = model.Status,
Overview = model.Overview,
//NextAiring
@ -138,7 +138,7 @@ namespace NzbDrone.Api.Movie
IsAvailable = model.IsAvailable(),
FolderName = model.FolderName(),
SizeOnDisk = size,
//SizeOnDisk = size,
Runtime = model.Runtime,
LastInfoSync = model.LastInfoSync,

Loading…
Cancel
Save