Added the ability to search movies via the movie db with a different language!

This commit is contained in:
tidusjar 2018-12-30 14:26:25 +00:00
parent 53cdcdc23b
commit dc216ba9bf
14 changed files with 361 additions and 49 deletions

View file

@ -56,9 +56,9 @@ namespace Ombi.Core.Engine
/// </summary>
/// <param name="search">The search.</param>
/// <returns></returns>
public async Task<IEnumerable<SearchMovieViewModel>> Search(string search, int? year)
public async Task<IEnumerable<SearchMovieViewModel>> Search(string search, int? year, string langaugeCode)
{
var result = await MovieApi.SearchMovie(search, year);
var result = await MovieApi.SearchMovie(search, year, langaugeCode);
if (result != null)
{