RandomNinjaAtk / docker-sonarr-extended

Sonarr (develop) with bash scripts to automate and extend functionality.
GNU General Public License v3.0
67 stars 15 forks source link

Queue Cleaner Doesn't See Downloads With Warnings. #25

Closed EthicalObligation closed 1 year ago

EthicalObligation commented 1 year ago

24

RandomNinjaAtk commented 1 year ago

What is a use-case where you only have an item with a warning only?

The current use-case is to only clear completed downloads that fail to import automatically because they have a warning status. I feel like removing everything with a warning status is possibly taking it too far and would have undesirable results.

Edit: From my logging, the script is working as designed, sample log output:

2023-03-06 15:25:27 :: QueueCleaner :: 1.0.009 :: Removing Failed Queue Item ID: 917231465 (Download Title) from Sonarr...
2023-03-06 15:25:29 :: QueueCleaner :: 1.0.009 :: ERROR :: Episode title is "TBA" and prevents auto-import, refreshing series...
2023-03-08 22:33:46 :: QueueCleaner :: 1.0.009 :: Removing Failed Queue Item ID: 183783030 (Download TItle) from Sonarr...
2023-03-08 22:33:46 :: QueueCleaner :: 1.0.009 :: Removing Failed Queue Item ID: 1381281660 (Download TItle) from Sonarr...
2023-03-08 22:33:46 :: QueueCleaner :: 1.0.009 :: Removing Failed Queue Item ID: 837709826 (Download TItle) from Sonarr...
2023-03-08 22:33:46 :: QueueCleaner :: 1.0.009 :: Removing Failed Queue Item ID: 486129518 (Download TItle) from Sonarr...
EthicalObligation commented 1 year ago

I will definitely check it out for stability. Thank you for bringing that to my attention.

RandomNinjaAtk commented 1 year ago

This script was moved to a new repo and made as a universal script.