Wait for Arr download queue hand-off before reporting search outcome
This commit is contained in:
@@ -615,6 +615,10 @@ export default function RequestTimelinePage() {
|
||||
: canChoose
|
||||
? { title: available ? 'Downloads found' : 'Other versions are available', message: available ? 'Choose the version you want to download.' : 'These versions are outside your usual download settings.', next: available ? 'Your download starts after you choose a version.' : 'You can review them and confirm a download outside your profile.', action: 'Choose a version' }
|
||||
: { title: items.length ? 'No suitable downloads' : 'Nothing available yet', message: items.length ? 'The versions found cannot be downloaded with your current settings.' : 'No downloads were found in this search.', next: result?.nextOffset != null ? 'You can check the next group of missing episodes.' : 'You can try again later.', action: result?.nextOffset != null ? 'View search results' : undefined }
|
||||
: response.ok && result?.status === 'pending'
|
||||
? { title: 'Waiting for download confirmation', message: 'The search was sent. The download queue may still be updating.', next: 'Close this window and recheck the request shortly. You do not need to start another search yet.' }
|
||||
: response.ok && result?.status === 'downloading'
|
||||
? { title: 'Download queued', message: 'The download service has confirmed a download for this title.', next: 'Close this window to follow its progress.' }
|
||||
: response.ok && /\/actions\/grab$/.test(url)
|
||||
? { title: 'Waiting to start', message: 'Your download has been sent.', next: 'Close this box to follow its progress. It may take a moment to start.' }
|
||||
: undefined
|
||||
|
||||
Reference in New Issue
Block a user