mirror of
https://github.com/Radarr/Radarr.git
synced 2024-08-17 07:49:45 +02:00
Fixed: Improve RarBG Error Handling
This commit is contained in:
parent
f50e8f631e
commit
f05333db51
@ -31,10 +31,12 @@ public IList<ReleaseInfo> ParseResponse(IndexerResponse indexerResponse)
|
|||||||
|
|
||||||
if (jsonResponse.Resource.error_code.HasValue)
|
if (jsonResponse.Resource.error_code.HasValue)
|
||||||
{
|
{
|
||||||
if (jsonResponse.Resource.error_code == 20 || jsonResponse.Resource.error_code == 8
|
if (jsonResponse.Resource.error_code == 5 || jsonResponse.Resource.error_code == 8
|
||||||
|| jsonResponse.Resource.error_code == 9 || jsonResponse.Resource.error_code == 10)
|
|| jsonResponse.Resource.error_code == 9 || jsonResponse.Resource.error_code == 10
|
||||||
|
|| jsonResponse.Resource.error_code == 13 || jsonResponse.Resource.error_code == 14
|
||||||
|
|| jsonResponse.Resource.error_code == 20)
|
||||||
{
|
{
|
||||||
// No results or imdbid not found
|
// No results, rate limit, tmdbid not found/invalid, or imdbid not found/invalid
|
||||||
return results;
|
return results;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user