LivingWithHippos / unchained-android

App to interact with real-debrid API
GNU General Public License v3.0
403 stars 49 forks source link

Show and manage error responses from real debrid in search mode #377

Closed LivingWithHippos closed 2 months ago

LivingWithHippos commented 3 months ago

We show errors when returned for a new download inserted manually, but not from the searches.

For example adding a link to an invalid file will result in an infinite loop, while the response is just:

23:20:23.680  I  <-- 403 https://api.real-debrid.com/rest/1.0/torrents/addMagnet (153ms)
23:20:23.684  I  {
23:20:23.684  I     "error": "infringing_file",
23:20:23.684  I     "error_code": 35
23:20:23.684  I  }