While trying to use decluttarr with my Lidarr setup, I noticed that there were some imports that were failing but were never actually removed from the queue. I took a look at the logs and the trackedDownloadState of these items was importFailed instead of importPending which is expected.
This PR adds another condition to the logic that checks for importFailed as well and removes the affected downloads.
I tried to screenshot this but it's a little difficult to show without diving into the debug logs!
While trying to use decluttarr with my Lidarr setup, I noticed that there were some imports that were failing but were never actually removed from the queue. I took a look at the logs and the
trackedDownloadState
of these items wasimportFailed
instead ofimportPending
which is expected.This PR adds another condition to the logic that checks for
importFailed
as well and removes the affected downloads.I tried to screenshot this but it's a little difficult to show without diving into the debug logs!