mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
Stop the Cachers from bombing out when the response from the 3rd party api returns an exception or invalid response. #171
This commit is contained in:
parent
54ab4854e6
commit
076a75b82f
12 changed files with 138 additions and 29 deletions
|
@ -50,7 +50,7 @@ namespace PlexRequests.Api
|
|||
return results.Results;
|
||||
}
|
||||
|
||||
[Obsolete("Should use TheTvDbApi for TV")]
|
||||
[Obsolete("Should use TvMaze for TV")]
|
||||
public async Task<List<SearchTv>> SearchTv(string searchTerm)
|
||||
{
|
||||
var results = await Client.SearchTvShow(searchTerm);
|
||||
|
@ -74,7 +74,7 @@ namespace PlexRequests.Api
|
|||
return movies;
|
||||
}
|
||||
|
||||
[Obsolete("Should use TheTvDbApi for TV")]
|
||||
[Obsolete("Should use TvMaze for TV")]
|
||||
public async Task<TvShow> GetTvShowInformation(int tmdbId)
|
||||
{
|
||||
var show = await Client.GetTvShow(tmdbId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue