@ -7,7 +7,6 @@ using NzbDrone.Core.DecisionEngine.Specifications;
using NzbDrone.Core.Languages ;
using NzbDrone.Core.Languages ;
using NzbDrone.Core.MediaCover ;
using NzbDrone.Core.MediaCover ;
using NzbDrone.Core.Movies ;
using NzbDrone.Core.Movies ;
using NzbDrone.Core.Movies.Collections ;
using NzbDrone.Core.Movies.Translations ;
using NzbDrone.Core.Movies.Translations ;
using NzbDrone.Core.Parser ;
using NzbDrone.Core.Parser ;
using Radarr.Api.V3.MovieFiles ;
using Radarr.Api.V3.MovieFiles ;
@ -76,7 +75,7 @@ namespace Radarr.Api.V3.Movies
public AddMovieOptions AddOptions { get ; set ; }
public AddMovieOptions AddOptions { get ; set ; }
public Ratings Ratings { get ; set ; }
public Ratings Ratings { get ; set ; }
public MovieFileResource MovieFile { get ; set ; }
public MovieFileResource MovieFile { get ; set ; }
public MovieCollection Collection { get ; set ; }
public MovieCollection Resource Collection { get ; set ; }
public float Popularity { get ; set ; }
public float Popularity { get ; set ; }
}
}
@ -96,7 +95,7 @@ namespace Radarr.Api.V3.Movies
var translatedTitle = movieTranslation ? . Title ? ? model . Title ;
var translatedTitle = movieTranslation ? . Title ? ? model . Title ;
var translatedOverview = movieTranslation ? . Overview ? ? model . MovieMetadata . Value . Overview ;
var translatedOverview = movieTranslation ? . Overview ? ? model . MovieMetadata . Value . Overview ;
var collection = model . MovieMetadata . Value . CollectionTmdbId > 0 ? new MovieCollection { Title = model . MovieMetadata . Value . CollectionTitle , TmdbId = model . MovieMetadata . Value . CollectionTmdbId } : null ;
var collection = model . MovieMetadata . Value . CollectionTmdbId > 0 ? new MovieCollection Resource { Title = model . MovieMetadata . Value . CollectionTitle , TmdbId = model . MovieMetadata . Value . CollectionTmdbId } : null ;
return new MovieResource
return new MovieResource
{
{