Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Radarr/commit/089c9657f904e280ef5bdb2e628bf8d1e6efb84e You should set ROOT_URL correctly, otherwise the web may not work correctly.

Fixed: Don't throw error IMDB mapped movie not found

pull/3996/head
Qstick 5 years ago
parent 0ca72bf444
commit 089c9657f9

@ -39,6 +39,7 @@ namespace NzbDrone.Core.Test.MetadataSource.SkyHook
[TestCase("tmdbid: -12")]
[TestCase("tmdbid:1")]
[TestCase("adjalkwdjkalwdjklawjdlKAJD;EF")]
[TestCase("imdb: tt9805708")]
public void no_search_result(string term)
{
var result = Subject.SearchForNewMovie(term);

@ -332,9 +332,12 @@ namespace NzbDrone.Core.MetadataSource.SkyHook
}
}
var resource = response.Resource.movie_results.FirstOrDefault();
if (!response.Resource.movie_results.Any())
{
throw new MovieNotFoundException(imdbId);
}
return MapMovie(resource);
return MapMovie(response.Resource.movie_results.First());
}
public List<Movie> DiscoverNewMovies(string action)

Loading…
Cancel
Save