Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Radarr/commit/996542a4a5f5013bf73d3b8fa4ff4168a5231af4
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
10 additions and
3 deletions
@ -0,0 +1,8 @@
namespace Radarr.Api.V3.Movies
{
public class MovieCollectionResource
{
public string Title { get ; set ; }
public int TmdbId { get ; set ; }
}
}
@ -7,7 +7,6 @@ using NzbDrone.Core.DecisionEngine.Specifications;
using NzbDrone.Core.Languages ;
using NzbDrone.Core.MediaCover ;
using NzbDrone.Core.Movies ;
using NzbDrone.Core.Movies.Collections ;
using NzbDrone.Core.Movies.Translations ;
using NzbDrone.Core.Parser ;
using Radarr.Api.V3.MovieFiles ;
@ -76,7 +75,7 @@ namespace Radarr.Api.V3.Movies
public AddMovieOptions AddOptions { get ; set ; }
public Ratings Ratings { get ; set ; }
public MovieFileResource MovieFile { get ; set ; }
public MovieCollection Collection { get ; set ; }
public MovieCollection Resource Collection { get ; set ; }
public float Popularity { get ; set ; }
}
@ -96,7 +95,7 @@ namespace Radarr.Api.V3.Movies
var translatedTitle = movieTranslation ? . Title ? ? model . Title ;
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
{