mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-30 11:38:32 -07:00
Done most of the movie search work.
This commit is contained in:
parent
a4f892b702
commit
8f0ca3d1c4
17 changed files with 2881 additions and 38 deletions
|
@ -34,16 +34,16 @@ namespace RequestPlex.UI.Modules
|
|||
{
|
||||
var api = new TheMovieDbApi();
|
||||
var movies = api.SearchMovie(searchTerm);
|
||||
|
||||
return Response.AsJson(movies);
|
||||
var result = movies.Result;
|
||||
return Response.AsJson(result);
|
||||
}
|
||||
|
||||
private Response SearchTvShow(string searchTerm)
|
||||
{
|
||||
var api = new TheMovieDbApi();
|
||||
var movies = api.SearchTv(searchTerm);
|
||||
|
||||
return Response.AsJson(movies);
|
||||
var tvShow = api.SearchTv(searchTerm);
|
||||
var result = tvShow.Result;
|
||||
return Response.AsJson(result);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue