This is to allow Stremio/Nuvio addons like AIOStreams to efficiently find imported NZBs by name, so they can mark their search result items as "already in the user's library" (without ARR stack in use).
Currently, I think there are two ways but both are rather inefficient:
- Browse
/webdav and look for the title,
- or call
GET /import/history and find the NZB in the response JSON.
A new API can accomplish the above more efficiently:
- GET
/import/status/nzb?name=ABC
- Respond with status (e.g.,
Incomplete, Ready, Failed, Unsubmitted) and, if available, the stream URL
- Optionally, allow multiple request parameter
name so one call can cover multiple NZBs; AIOStreams search result has multiple NZBs per title, so this will reduce the API calls.
Thank you.
Note: if there is already a way to do this, please note and I'll close this.
This is to allow Stremio/Nuvio addons like AIOStreams to efficiently find imported NZBs by name, so they can mark their search result items as "already in the user's library" (without ARR stack in use).
Currently, I think there are two ways but both are rather inefficient:
/webdavand look for the title,GET /import/historyand find the NZB in the response JSON.A new API can accomplish the above more efficiently:
/import/status/nzb?name=ABCIncomplete,Ready,Failed,Unsubmitted) and, if available, the stream URLnameso one call can cover multiple NZBs; AIOStreams search result has multiple NZBs per title, so this will reduce the API calls.Thank you.
Note: if there is already a way to do this, please note and I'll close this.